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.00134/0.001348, allocations: 96.28 kB / 15.69 MB, free: 480 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.002014/0.002015, allocations: 176.9 kB / 16.57 MB, free: 6.852 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.986/1.986, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4765/0.4765, allocations: 43.54 MB / 314.5 MB, free: 9.082 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.0005631/0.0005631, allocations: 12 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4284/0.5639, allocations: 127.9 MB / 0.5574 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.5793, allocations: 11.35 MB / 0.5684 GB, free: 356 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.5797, allocations: 11.94 kB / 0.5685 GB, free: 344 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.5801, allocations: 63.62 kB / 0.5685 GB, free: 280 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008519/0.5886, allocations: 2.486 MB / 0.5709 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.5891, allocations: 144 kB / 0.5711 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008359/0.5899, allocations: 339.9 kB / 0.5714 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.5901, allocations: 23.06 kB / 0.5714 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.5906, allocations: 227.3 kB / 0.5716 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007348/0.5913, allocations: 315.3 kB / 0.5719 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.5914, allocations: 12 kB / 0.572 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01057/0.6019, allocations: 4.186 MB / 0.576 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.6022, allocations: 83.77 kB / 0.5761 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.6023, allocations: 85.58 kB / 0.5762 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.6069, allocations: 1.573 MB / 0.5777 GB, free: 6.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6069, allocations: 4 kB / 0.5777 GB, free: 6.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6069, allocations: 0 / 0.5777 GB, free: 6.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.6069, allocations: 0 / 0.5777 GB, free: 6.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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003078/0.61, allocations: 1.058 MB / 0.5788 GB, free: 5.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6101, allocations: 8.031 kB / 0.5788 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.6102, allocations: 70.53 kB / 0.5789 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.6104, allocations: 41.33 kB / 0.5789 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.6107, allocations: 246.7 kB / 0.5791 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.6109, allocations: 131.4 kB / 0.5793 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.611, allocations: 31.98 kB / 0.5793 GB, free: 5.137 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.6119, allocations: 0.5681 MB / 0.5798 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.6119, allocations: 0 / 0.5798 GB, free: 4.539 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.612, allocations: 12 kB / 0.5799 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.494e-05/0.612, allocations: 36.48 kB / 0.5799 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.6135, allocations: 1.251 MB / 0.5811 GB, free: 3.238 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.002712/0.6163, allocations: 2.058 MB / 0.5831 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.617, allocations: 272.2 kB / 0.5834 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003575/0.6206, allocations: 3.059 MB / 0.5864 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.6206, allocations: 38.56 kB / 0.5864 GB, free: 13.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.6206, allocations: 3.938 kB / 0.5864 GB, free: 13.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.001993/0.6226, allocations: 0.8049 MB / 0.5872 GB, free: 12.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.6227, allocations: 59.36 kB / 0.5873 GB, free: 12.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.6229, allocations: 198.3 kB / 0.5874 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.6229, allocations: 33.64 kB / 0.5875 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.6231, allocations: 195.8 kB / 0.5877 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.6232, allocations: 157.7 kB / 0.5878 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.6232, allocations: 16 kB / 0.5878 GB, free: 11.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.6234, allocations: 326.8 kB / 0.5881 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.6237, allocations: 113.2 kB / 0.5882 GB, free: 11.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.6241, allocations: 405.6 kB / 0.5886 GB, free: 10.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.6244, allocations: 173.4 kB / 0.5888 GB, free: 10.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.6244, allocations: 4 kB / 0.5888 GB, free: 10.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008843/0.6253, allocations: 0.5522 MB / 0.5893 GB, free: 9.922 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.6253, allocations: 8 kB / 0.5893 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.6254, allocations: 12 kB / 0.5894 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.6254, allocations: 20.06 kB / 0.5894 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.6261, allocations: 207.5 kB / 0.5896 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007019/0.6268, allocations: 1.195 MB / 0.5907 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.6272, allocations: 32.09 kB / 0.5908 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/0.6273, allocations: 63.97 kB / 0.5908 GB, free: 8.348 MB / 462.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.0002324/0.6275, allocations: 177.5 kB / 0.591 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.6276, allocations: 27.72 kB / 0.591 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.629, allocations: 0.6578 MB / 0.5917 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.629, allocations: 7.984 kB / 0.5917 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.629, allocations: 0 / 0.5917 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.629, allocations: 0 / 0.5917 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.6301, allocations: 0.6633 MB / 0.5923 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6301, allocations: 0 / 0.5923 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/0.6306, allocations: 97.89 kB / 0.5924 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.6307, allocations: 4.031 kB / 0.5924 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.6307, allocations: 15.98 kB / 0.5924 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008392/0.6315, allocations: 1.168 MB / 0.5936 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6316, allocations: 0 / 0.5936 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.6321, allocations: 366.4 kB / 0.5939 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.6323, allocations: 148.8 kB / 0.5941 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.6324, allocations: 4 kB / 0.5941 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.6326, allocations: 19.61 kB / 0.5941 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6327, allocations: 24.25 kB / 0.5941 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.6327, allocations: 23.98 kB / 0.5941 GB, free: 4.777 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.6329, allocations: 168.5 kB / 0.5943 GB, free: 4.613 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.633, allocations: 3.938 kB / 0.5943 GB, free: 4.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002111/0.6351, allocations: 0.5426 MB / 0.5948 GB, free: 4.066 MB / 462.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.002848/0.6379, allocations: 1.703 MB / 0.5965 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.6392, allocations: 369.8 kB / 0.5969 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6392, allocations: 0 / 0.5969 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.6397, allocations: 144 kB / 0.597 GB, free: 1.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.6403, allocations: 100.2 kB / 0.5971 GB, free: 1.742 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006453/0.6468, allocations: 9.084 MB / 0.606 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.6473, allocations: 0.7815 MB / 0.6067 GB, free: 7.605 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009021/0.6482, allocations: 182 kB / 0.6069 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.6485, allocations: 123.4 kB / 0.607 GB, free: 7.309 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.6486, allocations: 3.938 kB / 0.607 GB, free: 7.305 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.6893, allocations: 19 MB / 0.6256 GB, free: 4.344 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.6896, allocations: 245.1 kB / 0.6258 GB, free: 4.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.325, allocations: 7.797 kB / 0.6258 GB, free: 4.016 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