Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 109 kB / 21.23 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 258.2 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.218/0.218, allocations: 46.94 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003539/0.003539, allocations: 83.86 kB / 0.497 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3664, allocations: 66.08 MB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.182/0.5484, allocations: 153.1 MB / 0.711 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.5512, allocations: 2.2 MB / 0.7131 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.5512, allocations: 4 kB / 0.7131 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.5516, allocations: 55.7 kB / 0.7132 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.5531, allocations: 0.6414 MB / 0.7138 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.5535, allocations: 107.8 kB / 0.7139 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.5538, allocations: 263 kB / 0.7142 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.5539, allocations: 7.984 kB / 0.7142 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.5542, allocations: 147.4 kB / 0.7143 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.5545, allocations: 91.7 kB / 0.7144 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.5545, allocations: 15.94 kB / 0.7144 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.5563, allocations: 0.8962 MB / 0.7153 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.5564, allocations: 87.81 kB / 0.7154 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.5565, allocations: 99.58 kB / 0.7155 GB, free: 6.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.5576, allocations: 0.6566 MB / 0.7161 GB, free: 5.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5576, allocations: 0 / 0.7161 GB, free: 5.426 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5576, allocations: 0 / 0.7161 GB, free: 5.426 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5576, allocations: 3.938 kB / 0.7161 GB, free: 5.422 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.000786/0.5584, allocations: 445.5 kB / 0.7165 GB, free: 4.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5584, allocations: 8.031 kB / 0.7165 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/0.5585, allocations: 50.73 kB / 0.7166 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.5605, allocations: 280.5 kB / 0.7169 GB, free: 4.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.5609, allocations: 225.8 kB / 0.7171 GB, free: 4.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.5609, allocations: 8.328 kB / 0.7171 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.561, allocations: 16 kB / 0.7171 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007973/0.5618, allocations: 0.4967 MB / 0.7176 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5618, allocations: 0 / 0.7176 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.5618, allocations: 11.94 kB / 0.7176 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.5619, allocations: 8 kB / 0.7176 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008852/0.5627, allocations: 0.5855 MB / 0.7182 GB, free: 3.234 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.565, allocations: 0.9833 MB / 0.7191 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.5654, allocations: 237.1 kB / 0.7194 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.5656, allocations: 181.6 kB / 0.7195 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008251/0.5664, allocations: 155.8 kB / 0.7197 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.5665, allocations: 42.5 kB / 0.7197 GB, free: 1.566 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.5665, allocations: 0 / 0.7197 GB, free: 1.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001884/0.5684, allocations: 0.6018 MB / 0.7203 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.5684, allocations: 89.05 kB / 0.7204 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.5686, allocations: 125.8 kB / 0.7205 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.5686, allocations: 33.7 kB / 0.7205 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.5687, allocations: 116.5 kB / 0.7207 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.5688, allocations: 115 kB / 0.7208 GB, free: 464 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5689, allocations: 69.48 kB / 0.7208 GB, free: 388 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5691, allocations: 334.8 kB / 0.7212 GB, free: 44 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.5694, allocations: 183.9 kB / 0.7213 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.5699, allocations: 284.5 kB / 0.7216 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008006/0.5707, allocations: 492.5 kB / 0.7221 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5707, allocations: 0 / 0.7221 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009864/0.5716, allocations: 0.519 MB / 0.7226 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5717, allocations: 12 kB / 0.7226 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5717, allocations: 0 / 0.7226 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5717, allocations: 8 kB / 0.7226 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.5722, allocations: 75.89 kB / 0.7227 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.5722, allocations: 7.984 kB / 0.7227 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.5726, allocations: 43.7 kB / 0.7227 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.5726, allocations: 16 kB / 0.7227 GB, free: 14.33 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0001681/0.5728, allocations: 145.7 kB / 0.7229 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5729, allocations: 23.91 kB / 0.7229 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009608/0.5738, allocations: 482.4 kB / 0.7234 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5738, allocations: 11.92 kB / 0.7234 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5739, allocations: 0 / 0.7234 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5739, allocations: 4 kB / 0.7234 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007217/0.5746, allocations: 436.8 kB / 0.7238 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5746, allocations: 4 kB / 0.7238 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.5751, allocations: 55.91 kB / 0.7238 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.5751, allocations: 7.984 kB / 0.7239 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.5751, allocations: 8 kB / 0.7239 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5751, allocations: 4.078 kB / 0.7239 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5751, allocations: 3.984 kB / 0.7239 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.5762, allocations: 0.6839 MB / 0.7245 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.5763, allocations: 23.83 kB / 0.7246 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.5763, allocations: 12 kB / 0.7246 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.5768, allocations: 23.98 kB / 0.7246 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.5768, allocations: 15.95 kB / 0.7246 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.5769, allocations: 19.98 kB / 0.7246 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.5769, allocations: 95.7 kB / 0.7247 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5769, allocations: 0 / 0.7247 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006466/0.5776, allocations: 175.6 kB / 0.7249 GB, free: 12.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.002043/0.5796, allocations: 1.469 MB / 0.7263 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007912/0.5804, allocations: 424.1 kB / 0.7267 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5804, allocations: 4.25 kB / 0.7267 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.5808, allocations: 211.8 kB / 0.7269 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.5814, allocations: 92.41 kB / 0.727 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.5858, allocations: 3.223 MB / 0.7302 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.5862, allocations: 0.7478 MB / 0.7309 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004683/0.5867, allocations: 109.8 kB / 0.731 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.5869, allocations: 59.41 kB / 0.7311 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.5869, allocations: 0 / 0.7311 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2777/0.8646, allocations: 10.62 MB / 0.7414 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.888, allocations: 2.188 kB / 0.7414 GB, free: 174.1 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.794310081750154] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium2.T', 'medium2.X[1]', 'medium2.X[2]', 'medium2.X[3]', 'medium2.X[4]', 'medium2.p', 'state.T', 'state.p'] 8.963178469799459 8.978036997 8.417100466 Calling exit ...