Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",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.001057/0.001058, allocations: 97.06 kB / 15.69 MB, free: 488 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.001119/0.001119, allocations: 174.2 kB / 16.56 MB, free: 6.375 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.912/1.912, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4453/0.4453, allocations: 43.55 MB / 314.5 MB, free: 9.051 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.0005275/0.0005276, allocations: 16 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1483, allocations: 58.85 MB / 442.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4326/0.5809, allocations: 115.3 MB / 0.5451 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.5856, allocations: 3.839 MB / 0.5488 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.5858, allocations: 0 / 0.5488 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.5861, allocations: 57.91 kB / 0.5489 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.5879, allocations: 0.6175 MB / 0.5495 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.5884, allocations: 145.3 kB / 0.5496 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005308/0.5889, allocations: 258.4 kB / 0.5499 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.589, allocations: 14.16 kB / 0.5499 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.5893, allocations: 143.5 kB / 0.55 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.5896, allocations: 169.6 kB / 0.5502 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.5896, allocations: 4 kB / 0.5502 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.5912, allocations: 0.6191 MB / 0.5508 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.5913, allocations: 37.58 kB / 0.5508 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.5914, allocations: 65.58 kB / 0.5509 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.5919, allocations: 287.4 kB / 0.5512 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.592, allocations: 0 / 0.5512 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.177e-06/0.592, allocations: 4 kB / 0.5512 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.592, allocations: 0 / 0.5512 GB, free: 0.9492 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001155/0.5931, allocations: 0.5526 MB / 0.5517 GB, free: 400 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.5932, allocations: 8.031 kB / 0.5517 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.412e-05/0.5933, allocations: 60.19 kB / 0.5518 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.5934, allocations: 24.94 kB / 0.5518 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.5938, allocations: 230.9 kB / 0.552 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.5939, allocations: 124.1 kB / 0.5522 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.594, allocations: 20 kB / 0.5522 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.5947, allocations: 322.3 kB / 0.5525 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.5948, allocations: 3.938 kB / 0.5525 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.5948, allocations: 12 kB / 0.5525 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.5948, allocations: 4.656 kB / 0.5525 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.596, allocations: 0.7388 MB / 0.5532 GB, free: 15.05 MB / 430.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.002007/0.598, allocations: 1.273 MB / 0.5545 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.5985, allocations: 178.5 kB / 0.5546 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002922/0.6014, allocations: 2.645 MB / 0.5572 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6015, allocations: 37.47 kB / 0.5573 GB, free: 10.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.6015, allocations: 0 / 0.5573 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.000721/0.6022, allocations: 230.3 kB / 0.5575 GB, free: 10.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.6023, allocations: 59.41 kB / 0.5575 GB, free: 10.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.6025, allocations: 204.5 kB / 0.5577 GB, free: 10.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.6025, allocations: 29.7 kB / 0.5578 GB, free: 10.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.6027, allocations: 210.9 kB / 0.558 GB, free: 9.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.6027, allocations: 56.89 kB / 0.558 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.6028, allocations: 8 kB / 0.558 GB, free: 9.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.6029, allocations: 328.8 kB / 0.5583 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.603, allocations: 50.3 kB / 0.5584 GB, free: 9.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.6033, allocations: 313.7 kB / 0.5587 GB, free: 9.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.6035, allocations: 107.8 kB / 0.5588 GB, free: 8.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6035, allocations: 4 kB / 0.5588 GB, free: 8.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005226/0.604, allocations: 377.6 kB / 0.5591 GB, free: 8.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6041, allocations: 8 kB / 0.5591 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.6041, allocations: 15.95 kB / 0.5592 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.6041, allocations: 16.06 kB / 0.5592 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.6045, allocations: 108.3 kB / 0.5593 GB, free: 8.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.6045, allocations: 15.94 kB / 0.5593 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.6047, allocations: 20 kB / 0.5593 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.6048, allocations: 29.11 kB / 0.5593 GB, free: 8.348 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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 0.0001334/0.6049, allocations: 150.3 kB / 0.5595 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.605, allocations: 15.81 kB / 0.5595 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.6053, allocations: 184.9 kB / 0.5597 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6053, allocations: 7.953 kB / 0.5597 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6054, allocations: 0 / 0.5597 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6054, allocations: 0 / 0.5597 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.6059, allocations: 478.1 kB / 0.5601 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.606, allocations: 0 / 0.5601 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.6061, allocations: 37.36 kB / 0.5602 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6061, allocations: 4 kB / 0.5602 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.6062, allocations: 4 kB / 0.5602 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6062, allocations: 0 / 0.5602 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6062, allocations: 4 kB / 0.5602 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.6064, allocations: 297.4 kB / 0.5605 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.6065, allocations: 104.9 kB / 0.5606 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.6066, allocations: 8 kB / 0.5606 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.6068, allocations: 7.984 kB / 0.5606 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.6068, allocations: 23.06 kB / 0.5606 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.6069, allocations: 11.98 kB / 0.5606 GB, free: 6.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.607, allocations: 144.5 kB / 0.5608 GB, free: 6.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.607, allocations: 0 / 0.5608 GB, free: 6.746 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.6075, allocations: 88 kB / 0.5608 GB, free: 6.66 MB / 430.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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0007482/0.6083, allocations: 1.14 MB / 0.562 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.6086, allocations: 176.6 kB / 0.5621 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.6086, allocations: 0 / 0.5621 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.6086, allocations: 45.42 kB / 0.5622 GB, free: 5.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.609, allocations: 50.58 kB / 0.5622 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.6132, allocations: 7.649 MB / 0.5697 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.6135, allocations: 0.7287 MB / 0.5704 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.6138, allocations: 62.91 kB / 0.5705 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.6139, allocations: 63.41 kB / 0.5705 GB, free: 12.44 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6139, allocations: 0 / 0.5705 GB, free: 12.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.6303, allocations: 4.799 MB / 0.5752 GB, free: 7.711 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.6305, allocations: 186.6 kB / 0.5754 GB, free: 7.469 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.477, allocations: 0 / 0.5754 GB, free: 7.469 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat