Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Sources_test_atmosphere",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Sources_test_atmosphere",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 194 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0673/0.0673, allocations: 10.99 MB / 280.7 MB, free: 10.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01788/0.01788, allocations: 4.245 MB / 334.4 MB, free: 29.11 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 71.89 kB / 396.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3083, allocations: 49.74 MB / 446.4 MB, free: 47.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere): time 0.4526/0.7609, allocations: 165.2 MB / 0.5973 GB, free: 444 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.7642, allocations: 2.125 MB / 0.5994 GB, free: 400 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.7646, allocations: 9.594 kB / 0.5994 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008077/0.7654, allocations: 202.3 kB / 0.5996 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.766, allocations: 296 kB / 0.5998 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.7686, allocations: 0.657 MB / 0.6005 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007173/0.7693, allocations: 0.5464 MB / 0.601 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.7696, allocations: 158.5 kB / 0.6012 GB, free: 328 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.7699, allocations: 219.9 kB / 0.6014 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.7703, allocations: 299.3 kB / 0.6017 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.7704, allocations: 21.56 kB / 0.6017 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.7724, allocations: 1.042 MB / 0.6027 GB, free: 308 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.7726, allocations: 124.7 kB / 0.6028 GB, free: 304 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.7727, allocations: 154.1 kB / 0.603 GB, free: 304 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.7738, allocations: 0.7339 MB / 0.6037 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7738, allocations: 0 / 0.6037 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7738, allocations: 0 / 0.6037 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.7738, allocations: 0 / 0.6037 GB, free: 260 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001201/0.775, allocations: 0.6866 MB / 0.6044 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.7751, allocations: 10.78 kB / 0.6044 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.452e-05/0.7752, allocations: 65.25 kB / 0.6044 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.7753, allocations: 32.91 kB / 0.6045 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.7756, allocations: 281.6 kB / 0.6047 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.7756, allocations: 21.69 kB / 0.6048 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.7756, allocations: 24.12 kB / 0.6048 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.7763, allocations: 395.7 kB / 0.6052 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.7763, allocations: 7.078 kB / 0.6052 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.7763, allocations: 12.22 kB / 0.6052 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7763, allocations: 5.531 kB / 0.6052 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.777, allocations: 300.3 kB / 0.6055 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.7789, allocations: 2.115 MB / 0.6075 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.7795, allocations: 230 kB / 0.6077 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.7798, allocations: 122.1 kB / 0.6079 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.7799, allocations: 92.88 kB / 0.608 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.78, allocations: 36.22 kB / 0.608 GB, free: 13.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.78, allocations: 0 / 0.608 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009886/0.781, allocations: 326.4 kB / 0.6083 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.7811, allocations: 131 kB / 0.6084 GB, free: 13.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.7814, allocations: 331.7 kB / 0.6087 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.7814, allocations: 32.05 kB / 0.6088 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.7816, allocations: 203.5 kB / 0.609 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.7816, allocations: 50.48 kB / 0.609 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.7817, allocations: 52.56 kB / 0.6091 GB, free: 12.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7818, allocations: 339.9 kB / 0.6094 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.7821, allocations: 89.39 kB / 0.6095 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.7824, allocations: 215.6 kB / 0.6097 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.7831, allocations: 319.9 kB / 0.61 GB, free: 12.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7831, allocations: 2.594 kB / 0.61 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007511/0.7838, allocations: 343.3 kB / 0.6103 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.7839, allocations: 5.5 kB / 0.6103 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.7839, allocations: 6.594 kB / 0.6103 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7839, allocations: 9.391 kB / 0.6103 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.7842, allocations: 71.27 kB / 0.6104 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7842, allocations: 5.938 kB / 0.6104 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.7844, allocations: 48.95 kB / 0.6105 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.7845, allocations: 10.16 kB / 0.6105 GB, free: 12.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.7846, allocations: 164.4 kB / 0.6106 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.7847, allocations: 37.55 kB / 0.6107 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000715/0.7854, allocations: 284.3 kB / 0.6109 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.7855, allocations: 4.719 kB / 0.6109 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.7855, allocations: 0 / 0.6109 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.7855, allocations: 8.453 kB / 0.6109 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005831/0.7861, allocations: 447.8 kB / 0.6114 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7861, allocations: 128 / 0.6114 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.7863, allocations: 54.48 kB / 0.6114 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.7863, allocations: 6.625 kB / 0.6114 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.7863, allocations: 6.156 kB / 0.6114 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7863, allocations: 0 / 0.6114 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7863, allocations: 6.781 kB / 0.6114 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.7871, allocations: 0.5568 MB / 0.612 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.7872, allocations: 110.7 kB / 0.6121 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.7872, allocations: 6.5 kB / 0.6121 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.7875, allocations: 23.39 kB / 0.6121 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.7876, allocations: 24.7 kB / 0.6121 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.7876, allocations: 8.781 kB / 0.6121 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.7878, allocations: 235.6 kB / 0.6124 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7879, allocations: 0 / 0.6124 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006526/0.7885, allocations: 122.3 kB / 0.6125 GB, free: 10.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001415/0.7899, allocations: 1.207 MB / 0.6137 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006925/0.7906, allocations: 246.3 kB / 0.6139 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7907, allocations: 0 / 0.6139 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.791, allocations: 108.6 kB / 0.614 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7921, allocations: 143.6 kB / 0.6141 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.7963, allocations: 3.296 MB / 0.6174 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.7967, allocations: 0.7749 MB / 0.6181 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.797, allocations: 82.66 kB / 0.6182 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.7971, allocations: 97.48 kB / 0.6183 GB, free: 7.293 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.7971, allocations: 0 / 0.6183 GB, free: 7.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.8248, allocations: 9.464 MB / 0.6275 GB, free: 2.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.718, allocations: 7.812 kB / 0.6275 GB, free: 2.754 MB / 414.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Sources_test_atmosphere.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Sources.test_atmosphere.pipe 2>&1)