Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 185.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 103.5 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5463/0.5463, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006616/0.0006613, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1439, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.369/2.513, allocations: 0.6458 GB / 1.125 GB, free: 106.6 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/2.513, allocations: 83.83 kB / 1.125 GB, free: 106.6 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.332/2.845, allocations: 111.5 MB / 1.234 GB, free: 0.6016 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.755e-06/2.845, allocations: 0 / 1.234 GB, free: 0.6016 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.721e-05/2.845, allocations: 4 kB / 1.234 GB, free: 0.5977 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.3573/3.203, allocations: 1.045 MB / 1.235 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/3.203, allocations: 13.89 kB / 1.235 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/3.203, allocations: 65.73 kB / 1.235 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/3.204, allocations: 81.45 kB / 1.235 GB, free: 119.1 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/3.204, allocations: 250.8 kB / 1.235 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/3.204, allocations: 19.72 kB / 1.235 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/3.205, allocations: 29.34 kB / 1.235 GB, free: 118.9 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/3.206, allocations: 472.7 kB / 1.236 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/3.206, allocations: 1.188 kB / 1.236 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/3.206, allocations: 12.91 kB / 1.236 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/3.206, allocations: 10.28 kB / 1.236 GB, free: 118.8 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/3.208, allocations: 0.6796 MB / 1.236 GB, free: 118.8 MB / 0.4949 GB 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.01471/3.223, allocations: 4.152 MB / 1.24 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00095/3.224, allocations: 217.5 kB / 1.24 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1469/3.371, allocations: 42.52 MB / 1.282 GB, free: 96.76 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000741/3.371, allocations: 237.5 kB / 1.282 GB, free: 96.64 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=20): time 2.915e-06/3.372, allocations: 0 / 1.282 GB, free: 96.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=22): time 0.003774/3.375, allocations: 0.7273 MB / 1.283 GB, free: 96.43 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/3.375, allocations: 269.8 kB / 1.283 GB, free: 96.11 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/3.376, allocations: 184.6 kB / 1.283 GB, free: 96.01 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/3.376, allocations: 30.11 kB / 1.283 GB, free: 95.98 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/3.376, allocations: 282.6 kB / 1.284 GB, free: 95.76 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 8.043e-05/3.376, allocations: 78.52 kB / 1.284 GB, free: 95.73 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/3.376, allocations: 13.59 kB / 1.284 GB, free: 95.72 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/3.376, allocations: 329.4 kB / 1.284 GB, free: 95.41 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/3.376, allocations: 62.19 kB / 1.284 GB, free: 95.41 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/3.377, allocations: 341.4 kB / 1.284 GB, free: 95.05 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/3.377, allocations: 117.4 kB / 1.285 GB, free: 95.04 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/3.377, allocations: 4 kB / 1.285 GB, free: 95.04 MB / 0.4949 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001064/3.378, allocations: 441.6 kB / 1.285 GB, free: 94.98 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/3.378, allocations: 9.312 kB / 1.285 GB, free: 94.98 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/3.378, allocations: 9.406 kB / 1.285 GB, free: 94.98 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/3.381, allocations: 303.9 kB / 1.285 GB, free: 94.96 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/3.382, allocations: 101.3 kB / 1.285 GB, free: 94.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006431/3.382, allocations: 1.221 MB / 1.287 GB, free: 93.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/3.383, allocations: 22.72 kB / 1.287 GB, free: 93.78 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/3.383, allocations: 28.34 kB / 1.287 GB, free: 93.78 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002206/3.383, allocations: 160.6 kB / 1.287 GB, free: 93.66 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/3.383, allocations: 28.47 kB / 1.287 GB, free: 93.65 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/3.385, allocations: 0.7994 MB / 1.288 GB, free: 93.51 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/3.385, allocations: 9.438 kB / 1.288 GB, free: 93.51 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.068e-06/3.385, allocations: 2.125 kB / 1.288 GB, free: 93.51 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/3.385, allocations: 3.75 kB / 1.288 GB, free: 93.51 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/3.386, allocations: 0.4984 MB / 1.288 GB, free: 93.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/3.386, allocations: 6.531 kB / 1.288 GB, free: 93.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/3.386, allocations: 34.16 kB / 1.288 GB, free: 93.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/3.388, allocations: 238.7 kB / 1.288 GB, free: 93.28 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/3.388, allocations: 5.125 kB / 1.288 GB, free: 93.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006772/3.389, allocations: 1.27 MB / 1.29 GB, free: 92.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/3.389, allocations: 3.031 kB / 1.29 GB, free: 92.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/3.39, allocations: 0.5449 MB / 1.29 GB, free: 91.78 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/3.39, allocations: 219.9 kB / 1.29 GB, free: 91.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.386e-05/3.39, allocations: 4.125 kB / 1.29 GB, free: 91.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/3.39, allocations: 22.05 kB / 1.29 GB, free: 91.65 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/3.391, allocations: 20.64 kB / 1.29 GB, free: 91.65 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/3.391, allocations: 13.8 kB / 1.29 GB, free: 91.65 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0005639/3.391, allocations: 292.8 kB / 1.291 GB, free: 91.56 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.21e-07/3.391, allocations: 0.9688 kB / 1.291 GB, free: 91.56 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002371/3.394, allocations: 412.4 kB / 1.291 GB, free: 91.56 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004236/3.398, allocations: 2.239 MB / 1.293 GB, free: 90.13 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0009851/3.399, allocations: 321.6 kB / 1.294 GB, free: 90.09 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/3.399, allocations: 3.375 kB / 1.294 GB, free: 90.09 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/3.399, allocations: 187 kB / 1.294 GB, free: 90.06 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/3.4, allocations: 78.86 kB / 1.294 GB, free: 90.06 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.287/8.687, allocations: 1.263 GB / 2.557 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/8.687, allocations: 0.8286 MB / 2.558 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/8.687, allocations: 154.6 kB / 2.558 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.052e-06/8.687, allocations: 0 / 2.558 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.054/11.74, allocations: 14.27 MB / 2.572 GB, free: 99.77 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat