Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.001586/0.001586, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 78.66 kB / 261.7 MB, free: 1.688 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.2521/0.2521, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.249e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1598, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.523/7.683, allocations: 2.749 GB / 3.215 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/7.683, allocations: 79.45 kB / 3.215 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.143/8.826, allocations: 211.9 MB / 3.422 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/8.826, allocations: 1.406 kB / 3.422 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.75e-05/8.826, allocations: 2.625 kB / 3.422 GB, free: 83.92 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00914/8.835, allocations: 1.741 MB / 3.424 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/8.835, allocations: 12.25 kB / 3.424 GB, free: 83.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/8.837, allocations: 186.8 kB / 3.424 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/8.837, allocations: 267.5 kB / 3.425 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/8.837, allocations: 14.36 kB / 3.425 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/8.837, allocations: 18.16 kB / 3.425 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008639/8.838, allocations: 474 kB / 3.425 GB, free: 82.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/8.839, allocations: 378.1 kB / 3.425 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/8.839, allocations: 4.844 kB / 3.425 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/8.839, allocations: 2.547 kB / 3.425 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/8.839, allocations: 12.72 kB / 3.425 GB, free: 82.82 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.3303/9.169, allocations: 127.8 MB / 3.55 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/9.17, allocations: 80.67 kB / 3.55 GB, free: 22.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/9.17, allocations: 28.52 kB / 3.55 GB, free: 22.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1163/9.286, allocations: 46.53 MB / 3.596 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/9.286, allocations: 107.1 kB / 3.596 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/9.286, allocations: 0 / 3.596 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.003273/9.29, allocations: 0.5896 MB / 3.596 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/9.29, allocations: 81.11 kB / 3.596 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/9.29, allocations: 224.6 kB / 3.597 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/9.29, allocations: 25.7 kB / 3.597 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/9.29, allocations: 255.6 kB / 3.597 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/9.29, allocations: 47.31 kB / 3.597 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/9.29, allocations: 0 / 3.597 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002433/9.291, allocations: 334.3 kB / 3.597 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/9.291, allocations: 65.88 kB / 3.597 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/9.291, allocations: 328.4 kB / 3.598 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/9.293, allocations: 203.7 kB / 3.598 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/9.293, allocations: 4 kB / 3.598 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001669/9.294, allocations: 495.2 kB / 3.598 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/9.294, allocations: 8 kB / 3.598 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/9.294, allocations: 8 kB / 3.598 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/9.294, allocations: 18.52 kB / 3.598 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/9.295, allocations: 210.3 kB / 3.599 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004514/9.296, allocations: 0.6066 MB / 3.599 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/9.296, allocations: 12 kB / 3.599 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/9.297, allocations: 45.28 kB / 3.599 GB, free: 11.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/9.297, allocations: 128.3 kB / 3.599 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006226/9.297, allocations: 173.2 kB / 3.6 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/9.297, allocations: 23.94 kB / 3.6 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009934/9.298, allocations: 0.789 MB / 3.6 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/9.298, allocations: 10.84 kB / 3.6 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/9.298, allocations: 3.938 kB / 3.6 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/9.298, allocations: 11.98 kB / 3.6 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/9.299, allocations: 410.2 kB / 3.601 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/9.299, allocations: 4 kB / 3.601 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/9.299, allocations: 46.02 kB / 3.601 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003146/9.3, allocations: 232.9 kB / 3.601 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/9.3, allocations: 4 kB / 3.601 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004719/9.3, allocations: 0.6589 MB / 3.602 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/9.3, allocations: 4.031 kB / 3.602 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/9.301, allocations: 0.5835 MB / 3.602 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/9.301, allocations: 145.7 kB / 3.602 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/9.301, allocations: 8 kB / 3.602 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/9.301, allocations: 18.47 kB / 3.602 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/9.301, allocations: 7.844 kB / 3.602 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/9.301, allocations: 11.95 kB / 3.602 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002232/9.302, allocations: 222.4 kB / 3.603 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/9.302, allocations: 0 / 3.603 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009003/9.311, allocations: 1.587 MB / 3.604 GB, free: 7.609 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01697/9.328, allocations: 2.919 MB / 3.607 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001109/9.329, allocations: 309.9 kB / 3.607 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/9.329, allocations: 1.641 kB / 3.607 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/9.329, allocations: 167.2 kB / 3.607 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/9.33, allocations: 49.61 kB / 3.608 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007955/9.338, allocations: 1.14 MB / 3.609 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/9.338, allocations: 0.8015 MB / 3.609 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002036/9.34, allocations: 1.125 MB / 3.611 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/9.341, allocations: 136.7 kB / 3.611 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/9.341, allocations: 4 kB / 3.611 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4685/9.809, allocations: 40.69 MB / 3.65 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/9.809, allocations: 157.3 kB / 3.651 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.473/13.28, allocations: 3.938 kB / 3.651 GB, free: 110.2 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat