Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",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.0009866/0.0009865, allocations: 96.7 kB / 15.7 MB, free: 468 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.001151/0.001151, allocations: 172.7 kB / 16.58 MB, free: 6.844 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.588/1.588, allocations: 205.4 MB / 222.8 MB, free: 5.891 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.3634/0.3634, allocations: 43.56 MB / 314.6 MB, free: 8.688 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.0004812/0.0004812, allocations: 18.97 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.137, allocations: 58.85 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4631/0.6001, allocations: 139.2 MB / 0.5684 GB, free: 336 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.6141, allocations: 12.25 MB / 0.5804 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.6144, allocations: 7.938 kB / 0.5804 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.6148, allocations: 47.72 kB / 0.5804 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007338/0.6221, allocations: 2.472 MB / 0.5829 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.6225, allocations: 151.6 kB / 0.583 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007076/0.6232, allocations: 0.6426 MB / 0.5836 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.782e-05/0.6233, allocations: 19.05 kB / 0.5837 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.6236, allocations: 215.2 kB / 0.5839 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007527/0.6243, allocations: 405.3 kB / 0.5842 GB, free: 172 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.6244, allocations: 12 kB / 0.5843 GB, free: 160 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007915/0.6323, allocations: 3.982 MB / 0.5881 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.6326, allocations: 91.67 kB / 0.5882 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.6328, allocations: 81.58 kB / 0.5883 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004731/0.6375, allocations: 1.591 MB / 0.5899 GB, free: 10.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6375, allocations: 4 kB / 0.5899 GB, free: 10.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6376, allocations: 0 / 0.5899 GB, free: 10.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.6376, allocations: 0 / 0.5899 GB, free: 10.39 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00245/0.64, allocations: 1.05 MB / 0.5909 GB, free: 9.297 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6401, allocations: 12.03 kB / 0.5909 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.264e-05/0.6402, allocations: 74.52 kB / 0.591 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.6403, allocations: 37.7 kB / 0.591 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.6406, allocations: 250.7 kB / 0.5913 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.6408, allocations: 135.4 kB / 0.5914 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.6408, allocations: 24.5 kB / 0.5914 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.6416, allocations: 0.5725 MB / 0.592 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.6416, allocations: 0 / 0.592 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.6416, allocations: 16 kB / 0.592 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.6417, allocations: 32.53 kB / 0.592 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.6429, allocations: 1.255 MB / 0.5932 GB, free: 6.801 MB / 462.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.002228/0.6452, allocations: 2 MB / 0.5952 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.6458, allocations: 268.9 kB / 0.5954 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.646, allocations: 122 kB / 0.5956 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003413/0.6495, allocations: 3.349 MB / 0.5988 GB, free: 380 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.6495, allocations: 42.52 kB / 0.5989 GB, free: 328 kB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 1.974e-06/0.6495, allocations: 0 / 0.5989 GB, free: 328 kB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.001693/0.6512, allocations: 0.7313 MB / 0.5996 GB, free: 15.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.6513, allocations: 59.41 kB / 0.5996 GB, free: 15.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.6515, allocations: 198.3 kB / 0.5998 GB, free: 15.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.6515, allocations: 33.7 kB / 0.5999 GB, free: 15.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6516, allocations: 191.8 kB / 0.6 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.6517, allocations: 153.8 kB / 0.6002 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.6518, allocations: 16 kB / 0.6002 GB, free: 14.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6519, allocations: 330.8 kB / 0.6005 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.652, allocations: 105.2 kB / 0.6006 GB, free: 14.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.6524, allocations: 417.6 kB / 0.601 GB, free: 13.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.6527, allocations: 172.5 kB / 0.6012 GB, free: 13.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.6527, allocations: 4 kB / 0.6012 GB, free: 13.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00087/0.6536, allocations: 0.5632 MB / 0.6017 GB, free: 13.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.6536, allocations: 8 kB / 0.6017 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.6536, allocations: 15.75 kB / 0.6018 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.6537, allocations: 16.81 kB / 0.6018 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/0.6543, allocations: 203.7 kB / 0.602 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005754/0.6549, allocations: 1.191 MB / 0.6031 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.6552, allocations: 32.03 kB / 0.6032 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/0.6553, allocations: 67.97 kB / 0.6032 GB, free: 11.59 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.6555, allocations: 175.6 kB / 0.6034 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.6556, allocations: 27.72 kB / 0.6034 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.6569, allocations: 0.6473 MB / 0.6041 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.6569, allocations: 4 kB / 0.6041 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6569, allocations: 0 / 0.6041 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.6569, allocations: 7.953 kB / 0.6041 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.6578, allocations: 0.6458 MB / 0.6047 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6578, allocations: 4 kB / 0.6047 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.6583, allocations: 99.88 kB / 0.6048 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.6583, allocations: 4 kB / 0.6048 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.6583, allocations: 15.11 kB / 0.6048 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005639/0.6589, allocations: 1.172 MB / 0.606 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6589, allocations: 0 / 0.606 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.6594, allocations: 340.7 kB / 0.6063 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.6595, allocations: 144.8 kB / 0.6064 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.6596, allocations: 15.98 kB / 0.6064 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.6598, allocations: 11.98 kB / 0.6065 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.6599, allocations: 36.17 kB / 0.6065 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.66, allocations: 23.98 kB / 0.6065 GB, free: 8.062 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.6601, allocations: 168.5 kB / 0.6067 GB, free: 7.898 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6602, allocations: 0 / 0.6067 GB, free: 7.898 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001924/0.6621, allocations: 0.5426 MB / 0.6072 GB, free: 7.355 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004153/0.6662, allocations: 1.618 MB / 0.6088 GB, free: 5.711 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.6673, allocations: 369.7 kB / 0.6091 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6673, allocations: 4 kB / 0.6091 GB, free: 5.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.6677, allocations: 148.8 kB / 0.6093 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.6684, allocations: 91.2 kB / 0.6094 GB, free: 5.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.6841, allocations: 9.709 MB / 0.6188 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.6845, allocations: 0.7699 MB / 0.6196 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008525/0.6853, allocations: 189.1 kB / 0.6198 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.6857, allocations: 127.4 kB / 0.6199 GB, free: 10.11 MB / 494.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6857, allocations: 0 / 0.6199 GB, free: 10.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2485/0.9342, allocations: 19.12 MB / 0.6386 GB, free: 144.3 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.9344, allocations: 249.8 kB / 0.6388 GB, free: 144 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.407, allocations: 3.844 kB / 0.6388 GB, free: 144 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat