Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7646/0.7646, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 200.7 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008713/0.0008712, allocations: 89.19 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.458e-05/4.499e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1707, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5549/0.7257, allocations: 102.7 MB / 0.7285 GB, free: 10.36 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.726, allocations: 75.02 kB / 0.7286 GB, free: 10.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004572/0.7306, allocations: 1.586 MB / 0.7301 GB, free: 8.934 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7306, allocations: 0 / 0.7301 GB, free: 8.934 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.7306, allocations: 0 / 0.7301 GB, free: 8.934 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000395/0.731, allocations: 350.2 kB / 0.7305 GB, free: 8.551 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.7311, allocations: 12.03 kB / 0.7305 GB, free: 8.539 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.7312, allocations: 30.56 kB / 0.7305 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.7312, allocations: 3.953 kB / 0.7305 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.7313, allocations: 163.8 kB / 0.7307 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.7314, allocations: 4 kB / 0.7307 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.7314, allocations: 0 / 0.7307 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.7315, allocations: 33.02 kB / 0.7307 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.7315, allocations: 0 / 0.7307 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.7315, allocations: 7.562 kB / 0.7307 GB, free: 8.254 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7316, allocations: 4 kB / 0.7307 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.136e-05/0.7316, allocations: 19 kB / 0.7307 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.7321, allocations: 270.6 kB / 0.731 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.7322, allocations: 30.02 kB / 0.731 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.7322, allocations: 12.11 kB / 0.731 GB, free: 7.883 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.7328, allocations: 440.9 kB / 0.7315 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.7328, allocations: 39.17 kB / 0.7315 GB, free: 7.316 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7328, allocations: 0 / 0.7315 GB, free: 7.316 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001607/0.733, allocations: 45.59 kB / 0.7315 GB, free: 7.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.733, allocations: 55.41 kB / 0.7316 GB, free: 7.203 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.7331, allocations: 92.94 kB / 0.7317 GB, free: 7.109 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.7331, allocations: 25.7 kB / 0.7317 GB, free: 7.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.7332, allocations: 80.14 kB / 0.7318 GB, free: 6.996 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.7332, allocations: 7.891 kB / 0.7318 GB, free: 6.988 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.7332, allocations: 0 / 0.7318 GB, free: 6.988 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7334, allocations: 318.4 kB / 0.7321 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.7334, allocations: 4.031 kB / 0.7321 GB, free: 6.668 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.7334, allocations: 7.688 kB / 0.7321 GB, free: 6.664 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.893e-05/0.7334, allocations: 4 kB / 0.7321 GB, free: 6.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7334, allocations: 0 / 0.7321 GB, free: 6.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.024e-05/0.7335, allocations: 49.25 kB / 0.7321 GB, free: 6.609 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.7335, allocations: 7.938 kB / 0.7322 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7336, allocations: 0 / 0.7322 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7336, allocations: 0 / 0.7322 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.7337, allocations: 12.09 kB / 0.7322 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7337, allocations: 7.938 kB / 0.7322 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.7338, allocations: 8.625 kB / 0.7322 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.7338, allocations: 0 / 0.7322 GB, free: 6.574 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/0.7338, allocations: 104.3 kB / 0.7323 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.7339, allocations: 7.938 kB / 0.7323 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.734, allocations: 52.81 kB / 0.7323 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.734, allocations: 0 / 0.7323 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.734, allocations: 7.984 kB / 0.7323 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.734, allocations: 3.953 kB / 0.7324 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.7342, allocations: 161.5 kB / 0.7325 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7342, allocations: 4 kB / 0.7325 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.7343, allocations: 11.98 kB / 0.7325 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7343, allocations: 0 / 0.7325 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.7343, allocations: 0 / 0.7325 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7343, allocations: 0 / 0.7325 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7343, allocations: 4.031 kB / 0.7325 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.7345, allocations: 139.1 kB / 0.7327 GB, free: 6.031 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.7345, allocations: 85.03 kB / 0.7327 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.7345, allocations: 0 / 0.7327 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.7346, allocations: 8 kB / 0.7327 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.7347, allocations: 3.984 kB / 0.7328 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.7347, allocations: 4.031 kB / 0.7328 GB, free: 5.914 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.526e-05/0.7347, allocations: 82.78 kB / 0.7328 GB, free: 5.836 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7347, allocations: 0 / 0.7328 GB, free: 5.836 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.7349, allocations: 23.94 kB / 0.7329 GB, free: 5.812 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005636/0.7355, allocations: 0.707 MB / 0.7335 GB, free: 5.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.265e-05/0.7356, allocations: 15.69 kB / 0.7336 GB, free: 5.074 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7356, allocations: 0 / 0.7336 GB, free: 5.074 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.7357, allocations: 11.88 kB / 0.7336 GB, free: 5.066 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.7358, allocations: 1.406 kB / 0.7336 GB, free: 5.066 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.7362, allocations: 107.1 kB / 0.7337 GB, free: 4.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.7365, allocations: 0.6809 MB / 0.7343 GB, free: 4.223 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.372e-05/0.7365, allocations: 0 / 0.7343 GB, free: 4.223 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.7366, allocations: 15.19 kB / 0.7344 GB, free: 4.211 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7366, allocations: 0 / 0.7344 GB, free: 4.211 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.7491, allocations: 1.231 MB / 0.7356 GB, free: 3.094 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.7494, allocations: 157.3 kB / 0.7357 GB, free: 2.863 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.468, allocations: 0 / 0.7357 GB, free: 2.863 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)