Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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(ThermoPower.Test.GasComponents.TestGT_ISO,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGT_ISO,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO",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.001042/0.001042, allocations: 88.16 kB / 16.31 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 180.4 kB / 17.21 MB, free: 5.477 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.428/1.428, allocations: 205.4 MB / 223.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.243/0.243, allocations: 48.78 MB / 320.4 MB, free: 11.2 MB / 270.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.0004696/0.0004696, allocations: 17.69 kB / 391.3 MB, free: 50.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08817, allocations: 60.27 MB / 451.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT_ISO): time 0.3457/0.4339, allocations: 177.5 MB / 0.6143 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.437, allocations: 1.986 MB / 0.6162 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.4373, allocations: 9.031 kB / 0.6162 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007815/0.4381, allocations: 296.5 kB / 0.6165 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000946/0.439, allocations: 0.6131 MB / 0.6171 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.4409, allocations: 0.7344 MB / 0.6178 GB, free: 236 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.4428, allocations: 2.107 MB / 0.6199 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006998/0.4435, allocations: 0.5453 MB / 0.6204 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008723/0.4444, allocations: 0.6802 MB / 0.6211 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.445, allocations: 0.6571 MB / 0.6217 GB, free: 14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.868e-05/0.4451, allocations: 48.16 kB / 0.6218 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.4466, allocations: 0.8343 MB / 0.6226 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.4471, allocations: 0.5679 MB / 0.6231 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.4473, allocations: 274.9 kB / 0.6234 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.4486, allocations: 1.537 MB / 0.6249 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4486, allocations: 0 / 0.6249 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4486, allocations: 0 / 0.6249 GB, free: 12.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.4487, allocations: 0 / 0.6249 GB, free: 12.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.001791/0.4505, allocations: 1.309 MB / 0.6262 GB, free: 11.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.4505, allocations: 10.56 kB / 0.6262 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/0.4507, allocations: 154.5 kB / 0.6263 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/0.4514, allocations: 230.5 kB / 0.6265 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009081/0.4523, allocations: 0.7329 MB / 0.6273 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.4524, allocations: 65.47 kB / 0.6273 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4525, allocations: 88.12 kB / 0.6274 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.4542, allocations: 1.252 MB / 0.6286 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.4542, allocations: 6.453 kB / 0.6286 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/0.4543, allocations: 46.81 kB / 0.6287 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.4544, allocations: 34.69 kB / 0.6287 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.4557, allocations: 0.9337 MB / 0.6296 GB, free: 8.898 MB / 446.1 MB 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.00594/0.4616, allocations: 5.02 MB / 0.6345 GB, free: 3.527 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.4624, allocations: 399.8 kB / 0.6349 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.4627, allocations: 189.4 kB / 0.6351 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.4627, allocations: 7.984 kB / 0.6351 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4628, allocations: 46.56 kB / 0.6351 GB, free: 2.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.4628, allocations: 0 / 0.6351 GB, free: 2.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.002643/0.4654, allocations: 0.9822 MB / 0.6361 GB, free: 1.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.4655, allocations: 140.5 kB / 0.6362 GB, free: 1.688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.4671, allocations: 1.539 MB / 0.6377 GB, free: 140 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.4672, allocations: 41.7 kB / 0.6378 GB, free: 92 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.4676, allocations: 0.5548 MB / 0.6383 GB, free: 15.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.4678, allocations: 145.9 kB / 0.6385 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.4678, allocations: 16 kB / 0.6385 GB, free: 15.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4679, allocations: 333.9 kB / 0.6388 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.4683, allocations: 233.2 kB / 0.639 GB, free: 14.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.4688, allocations: 444.5 kB / 0.6394 GB, free: 14.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.4692, allocations: 293.5 kB / 0.6397 GB, free: 14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4692, allocations: 4 kB / 0.6397 GB, free: 14 MB / 462.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001355/0.4706, allocations: 0.8799 MB / 0.6406 GB, free: 13.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.4708, allocations: 277.5 kB / 0.6408 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.4708, allocations: 4 kB / 0.6409 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.4721, allocations: 265.5 kB / 0.6411 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.4727, allocations: 135.8 kB / 0.6412 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.4738, allocations: 1.42 MB / 0.6426 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.4745, allocations: 126.8 kB / 0.6427 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.4746, allocations: 31.98 kB / 0.6428 GB, free: 10.72 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.4746, allocations: 4 kB / 0.6428 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/0.4759, allocations: 0.7236 MB / 0.6435 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4759, allocations: 8.094 kB / 0.6435 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.4763, allocations: 92.7 kB / 0.6436 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.4769, allocations: 155.7 kB / 0.6437 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009958/0.4779, allocations: 1.814 MB / 0.6455 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.4785, allocations: 115.1 kB / 0.6456 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.4785, allocations: 35.92 kB / 0.6456 GB, free: 7.703 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005883/0.4791, allocations: 444.7 kB / 0.6461 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.4793, allocations: 126.6 kB / 0.6462 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.4805, allocations: 0.5998 MB / 0.6468 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4806, allocations: 8 kB / 0.6468 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4806, allocations: 0 / 0.6468 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4806, allocations: 0 / 0.6468 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.4819, allocations: 1.039 MB / 0.6478 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4819, allocations: 0 / 0.6478 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.4822, allocations: 67.95 kB / 0.6479 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009606/0.4832, allocations: 236.7 kB / 0.6481 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.4832, allocations: 11.98 kB / 0.6481 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.4843, allocations: 1.4 MB / 0.6495 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4843, allocations: 0 / 0.6495 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4858, allocations: 0.9065 MB / 0.6504 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.4862, allocations: 299.5 kB / 0.6506 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.4864, allocations: 8 kB / 0.6506 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/0.4871, allocations: 67.84 kB / 0.6507 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.4872, allocations: 27.95 kB / 0.6507 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.4872, allocations: 31.97 kB / 0.6508 GB, free: 2.281 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001227/0.4885, allocations: 1.088 MB / 0.6518 GB, free: 1.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.4885, allocations: 0 / 0.6518 GB, free: 1.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001342/0.4898, allocations: 0.5462 MB / 0.6524 GB, free: 0.6406 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ConstantSpeed1.phi) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00272/0.4925, allocations: 1.834 MB / 0.6542 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.4944, allocations: 0.9115 MB / 0.655 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4944, allocations: 4.656 kB / 0.655 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.4949, allocations: 240.5 kB / 0.6553 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.4971, allocations: 0.5475 MB / 0.6558 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009476/0.5066, allocations: 7.298 MB / 0.6629 GB, free: 5.422 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/0.5073, allocations: 1.112 MB / 0.664 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001039/0.5084, allocations: 264.2 kB / 0.6643 GB, free: 4.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.5088, allocations: 395.3 kB / 0.6647 GB, free: 3.629 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5088, allocations: 0 / 0.6647 GB, free: 3.629 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.042/1.551, allocations: 34.96 MB / 0.6988 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/1.551, allocations: 241.8 kB / 0.699 GB, free: 360 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.107/4.658, allocations: 4 kB / 0.699 GB, free: 356 kB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGT_ISO.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe 2>&1) Environment - environmentSimulation: