Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.001109/0.001109, allocations: 93.12 kB / 16.99 MB, free: 5.938 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.001207/0.001207, allocations: 181.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3589/0.4638, allocations: 141.9 MB / 0.5991 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.4747, allocations: 5.523 MB / 0.6044 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.4762, allocations: 23.81 kB / 0.6045 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.4776, allocations: 270.6 kB / 0.6047 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.4817, allocations: 0.9899 MB / 0.6057 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.4842, allocations: 0.7565 MB / 0.6064 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.4867, allocations: 1.051 MB / 0.6075 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008711/0.4875, allocations: 385.1 kB / 0.6078 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.4898, allocations: 0.7401 MB / 0.6085 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.4907, allocations: 454.5 kB / 0.609 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.4909, allocations: 32 kB / 0.609 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.4926, allocations: 499.5 kB / 0.6095 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.493, allocations: 211.4 kB / 0.6097 GB, free: 8.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.4933, allocations: 165.4 kB / 0.6098 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.4949, allocations: 0.919 MB / 0.6107 GB, free: 7.844 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.4949, allocations: 0 / 0.6107 GB, free: 7.844 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.4949, allocations: 7.922 kB / 0.6108 GB, free: 7.836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4949, allocations: 4 kB / 0.6108 GB, free: 7.832 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00272/0.4976, allocations: 0.9543 MB / 0.6117 GB, free: 6.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4977, allocations: 8.562 kB / 0.6117 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.4979, allocations: 94.52 kB / 0.6118 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.4993, allocations: 131.1 kB / 0.6119 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5004, allocations: 0.4927 MB / 0.6124 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.5005, allocations: 100.4 kB / 0.6125 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.5007, allocations: 51.98 kB / 0.6125 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.5024, allocations: 0.8096 MB / 0.6133 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5024, allocations: 0 / 0.6133 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5025, allocations: 23.98 kB / 0.6134 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.5028, allocations: 52.91 kB / 0.6134 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.504, allocations: 0.6205 MB / 0.614 GB, free: 4.312 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.004554/0.5086, allocations: 3.944 MB / 0.6179 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.5092, allocations: 355.6 kB / 0.6182 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.5093, allocations: 93.33 kB / 0.6183 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.5095, allocations: 42.78 kB / 0.6183 GB, free: 15.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.5095, allocations: 0 / 0.6183 GB, free: 15.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005367/0.5149, allocations: 1.665 MB / 0.62 GB, free: 13.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.515, allocations: 140.5 kB / 0.6201 GB, free: 13.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.5158, allocations: 0.6055 MB / 0.6207 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.5159, allocations: 37.7 kB / 0.6207 GB, free: 13.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.5161, allocations: 366.8 kB / 0.6211 GB, free: 12.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.5162, allocations: 138.1 kB / 0.6212 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.5163, allocations: 16 kB / 0.6212 GB, free: 12.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5164, allocations: 374.8 kB / 0.6216 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.5168, allocations: 201.9 kB / 0.6218 GB, free: 11.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/0.5173, allocations: 0.5047 MB / 0.6223 GB, free: 11.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.5178, allocations: 288.6 kB / 0.6225 GB, free: 11.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5178, allocations: 11.89 kB / 0.6225 GB, free: 11 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001354/0.5191, allocations: 0.8794 MB / 0.6234 GB, free: 10.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5192, allocations: 11.94 kB / 0.6234 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5192, allocations: 8.906 kB / 0.6234 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.5205, allocations: 326.6 kB / 0.6237 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.5209, allocations: 119.8 kB / 0.6238 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.5219, allocations: 0.9309 MB / 0.6248 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.5224, allocations: 51.89 kB / 0.6248 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.353e-05/0.5225, allocations: 63.98 kB / 0.6249 GB, free: 8.578 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.5228, allocations: 245.5 kB / 0.6251 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.523, allocations: 67.2 kB / 0.6252 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.5246, allocations: 0.8695 MB / 0.626 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5246, allocations: 7.938 kB / 0.626 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5246, allocations: 0 / 0.626 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5247, allocations: 3.984 kB / 0.626 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.5269, allocations: 1.438 MB / 0.6274 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5269, allocations: 4 kB / 0.6274 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009843/0.5279, allocations: 207.8 kB / 0.6276 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.062e-05/0.528, allocations: 25.03 kB / 0.6277 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.528, allocations: 27.98 kB / 0.6277 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.5301, allocations: 2.695 MB / 0.6303 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5301, allocations: 8.328 kB / 0.6303 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.5314, allocations: 0.8816 MB / 0.6312 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.5317, allocations: 184.2 kB / 0.6314 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.5318, allocations: 15.98 kB / 0.6314 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.5322, allocations: 32.05 kB / 0.6314 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.5323, allocations: 35.95 kB / 0.6314 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.5324, allocations: 43.98 kB / 0.6315 GB, free: 1.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000541/0.5329, allocations: 427 kB / 0.6319 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.5329, allocations: 0 / 0.6319 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009003/0.5338, allocations: 259.9 kB / 0.6321 GB, free: 0.6172 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.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 (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002379/0.5362, allocations: 2.048 MB / 0.6341 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.5373, allocations: 0.5462 MB / 0.6347 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5374, allocations: 0.5625 kB / 0.6347 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009546/0.5383, allocations: 418.3 kB / 0.6351 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.5398, allocations: 327.3 kB / 0.6354 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/0.5483, allocations: 10.85 MB / 0.646 GB, free: 2.109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.5489, allocations: 0.9456 MB / 0.6469 GB, free: 1.137 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001218/0.5501, allocations: 461 kB / 0.6473 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.5506, allocations: 287.3 kB / 0.6476 GB, free: 416 kB / 478.1 MB Notification: Performance of SimCode: time 6.22e-07/0.5506, allocations: 3.938 kB / 0.6476 GB, free: 412 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/0.5906, allocations: 22.74 MB / 0.6698 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003472/0.591, allocations: 283.3 kB / 0.6701 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.049, allocations: 4 kB / 0.6701 GB, free: 9.648 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat