Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.0009659/0.0009659, allocations: 95.08 kB / 16.94 MB, free: 6.441 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.001063/0.001063, allocations: 184.6 kB / 17.83 MB, free: 6.008 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.461/1.461, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0005888/0.0005889, allocations: 23.98 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.092, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0434/0.1354, allocations: 39.26 MB / 367.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.1414, allocations: 4.106 MB / 371.8 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.1419, allocations: 7.938 kB / 371.8 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.1427, allocations: 183.2 kB / 372 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007871/0.1435, allocations: 251.2 kB / 372.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.1584, allocations: 4.738 MB / 377 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.1595, allocations: 0.5937 MB / 377.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.1598, allocations: 105.5 kB / 377.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2211/0.3809, allocations: 5.945 MB / 383.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.3814, allocations: 264.9 kB / 383.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.3815, allocations: 26.09 kB / 383.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/0.3987, allocations: 8.361 MB / 392.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.3992, allocations: 175.1 kB / 392.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.3995, allocations: 129.3 kB / 392.5 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007766/0.4072, allocations: 3.416 MB / 396 MB, free: 14.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4073, allocations: 0 / 396 MB, free: 14.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4073, allocations: 4.281 kB / 396 MB, free: 14.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.4073, allocations: 0 / 396 MB, free: 14.13 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003398/0.4107, allocations: 1.208 MB / 397.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4108, allocations: 9.969 kB / 397.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.4109, allocations: 83.64 kB / 397.3 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.4112, allocations: 57.69 kB / 397.3 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.4117, allocations: 352.8 kB / 397.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.4117, allocations: 36.19 kB / 397.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.4118, allocations: 44.78 kB / 397.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.4129, allocations: 0.5824 MB / 398.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.413, allocations: 0 / 398.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.413, allocations: 20.52 kB / 398.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.4131, allocations: 13.95 kB / 398.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.4142, allocations: 0.7384 MB / 399.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.4271, allocations: 12.02 MB / 411.1 MB, free: 17.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.4282, allocations: 0.5277 MB / 411.6 MB, free: 17.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/0.4424, allocations: 11.94 MB / 423.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.4425, allocations: 41.03 kB / 423.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/0.4425, allocations: 2.531 kB / 423.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.00564/0.4481, allocations: 2.125 MB / 425.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4482, allocations: 59.92 kB / 425.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.4486, allocations: 321.9 kB / 426.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.4487, allocations: 37.41 kB / 426.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4488, allocations: 193.4 kB / 426.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.4489, allocations: 196.7 kB / 426.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.449, allocations: 16.88 kB / 426.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4491, allocations: 347.2 kB / 426.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.4495, allocations: 236.2 kB / 427.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.4501, allocations: 333.7 kB / 427.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/0.4507, allocations: 287.4 kB / 427.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.4507, allocations: 9.453 kB / 427.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001688/0.4524, allocations: 0.7474 MB / 428.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4524, allocations: 4 kB / 428.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4524, allocations: 4 kB / 428.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.453, allocations: 107.2 kB / 428.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.4535, allocations: 130.1 kB / 428.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.4561, allocations: 3.284 MB / 432 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.4565, allocations: 45.25 kB / 432.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/0.4566, allocations: 36.7 kB / 432.1 MB, free: 13.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.4569, allocations: 187.9 kB / 432.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.4571, allocations: 43.62 kB / 432.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.4586, allocations: 0.8225 MB / 433.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.4586, allocations: 8 kB / 433.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.4586, allocations: 0 / 433.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/0.4597, allocations: 0.761 MB / 433.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.4618, allocations: 1.311 MB / 435.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4618, allocations: 0 / 435.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004303/0.4623, allocations: 103.8 kB / 435.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008985/0.4632, allocations: 153.3 kB / 435.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.4632, allocations: 15.94 kB / 435.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004013/0.4636, allocations: 0.6424 MB / 436.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4636, allocations: 3.562 kB / 436.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.4652, allocations: 0.928 MB / 437.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4654, allocations: 131 kB / 437.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.4654, allocations: 12.19 kB / 437.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.4659, allocations: 38.12 kB / 437.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.4659, allocations: 32.33 kB / 437.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.656e-05/0.466, allocations: 35.59 kB / 437.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002851/0.4663, allocations: 250.9 kB / 437.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4663, allocations: 0 / 437.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004449/0.4708, allocations: 1.299 MB / 438.9 MB, free: 7.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008481/0.4793, allocations: 3.091 MB / 441.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.481, allocations: 0.808 MB / 442.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.481, allocations: 1.5 kB / 442.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.4815, allocations: 292.5 kB / 443 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.4829, allocations: 259.1 kB / 443.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007494/0.4904, allocations: 5.102 MB / 448.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4909, allocations: 0.8473 MB / 449.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005797/0.4914, allocations: 137.8 kB / 449.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.4917, allocations: 158 kB / 449.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4917, allocations: 3.75 kB / 449.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08236/0.5741, allocations: 51.02 MB / 0.4888 GB, free: 11.41 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.5743, allocations: 245.2 kB / 0.4891 GB, free: 11.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.84/4.414, allocations: 3.719 kB / 0.4891 GB, free: 11.13 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat