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.002028/0.002027, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009106/0.0009106, allocations: 90.59 kB / 267 MB, free: 9.273 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.489/0.489, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.872e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1443, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.792/7.937, allocations: 2.75 GB / 3.223 GB, free: 134 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/7.937, allocations: 81.41 kB / 3.223 GB, free: 134 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8642/8.801, allocations: 215.2 MB / 3.433 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.655e-06/8.802, allocations: 0 / 3.433 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.838e-05/8.802, allocations: 7.625 kB / 3.433 GB, free: 76.24 MB / 0.5105 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.008557/8.81, allocations: 1.735 MB / 3.435 GB, free: 75.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/8.81, allocations: 7.469 kB / 3.435 GB, free: 75.32 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/8.81, allocations: 73.66 kB / 3.435 GB, free: 75.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/8.812, allocations: 183.9 kB / 3.435 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/8.812, allocations: 278.1 kB / 3.435 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/8.813, allocations: 23.22 kB / 3.435 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/8.813, allocations: 30.31 kB / 3.435 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/8.815, allocations: 0.8031 MB / 3.436 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/8.815, allocations: 1.094 kB / 3.436 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/8.815, allocations: 17.52 kB / 3.436 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/8.815, allocations: 10.09 kB / 3.436 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/8.817, allocations: 0.8639 MB / 3.437 GB, free: 74.91 MB / 0.5105 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.004036/8.821, allocations: 2.903 MB / 3.44 GB, free: 72.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/8.822, allocations: 393.2 kB / 3.44 GB, free: 72.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/8.823, allocations: 66.59 kB / 3.44 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7909/9.613, allocations: 140.6 MB / 3.578 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/9.615, allocations: 481.4 kB / 3.578 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 5.26e-06/9.615, allocations: 3.969 kB / 3.578 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.004033/9.619, allocations: 1.133 MB / 3.579 GB, free: 92.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/9.619, allocations: 378.8 kB / 3.58 GB, free: 92.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/9.619, allocations: 164.8 kB / 3.58 GB, free: 92.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/9.62, allocations: 33.11 kB / 3.58 GB, free: 92.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/9.62, allocations: 188.8 kB / 3.58 GB, free: 92.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/9.62, allocations: 113.4 kB / 3.58 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/9.62, allocations: 10.38 kB / 3.58 GB, free: 92.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/9.62, allocations: 338.3 kB / 3.58 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/9.62, allocations: 73.05 kB / 3.58 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/9.62, allocations: 334.8 kB / 3.581 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/9.62, allocations: 131.8 kB / 3.581 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/9.621, allocations: 3.062 kB / 3.581 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008218/9.621, allocations: 462.4 kB / 3.581 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/9.621, allocations: 9.875 kB / 3.581 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/9.621, allocations: 10.06 kB / 3.581 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/9.621, allocations: 20.77 kB / 3.581 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/9.623, allocations: 199.9 kB / 3.582 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004984/9.623, allocations: 1.181 MB / 3.583 GB, free: 90.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/9.624, allocations: 22.88 kB / 3.583 GB, free: 90.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/9.624, allocations: 46.14 kB / 3.583 GB, free: 90.21 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): 57 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/9.624, allocations: 150.7 kB / 3.583 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/9.624, allocations: 30.28 kB / 3.583 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/9.626, allocations: 1.881 MB / 3.585 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/9.626, allocations: 24.31 kB / 3.585 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/9.626, allocations: 5.562 kB / 3.585 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/9.627, allocations: 4.422 kB / 3.585 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/9.628, allocations: 0.8855 MB / 3.586 GB, free: 89.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/9.628, allocations: 2.531 kB / 3.586 GB, free: 89.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/9.628, allocations: 113.3 kB / 3.586 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/9.629, allocations: 231.4 kB / 3.586 GB, free: 89.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/9.629, allocations: 27.44 kB / 3.586 GB, free: 89.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003206/9.629, allocations: 0.6384 MB / 3.587 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/9.629, allocations: 3.938 kB / 3.587 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/9.63, allocations: 1.155 MB / 3.588 GB, free: 88.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/9.631, allocations: 272.1 kB / 3.588 GB, free: 88.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/9.631, allocations: 10.56 kB / 3.588 GB, free: 88.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/9.631, allocations: 24.48 kB / 3.588 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/9.631, allocations: 39.33 kB / 3.588 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/9.631, allocations: 31.25 kB / 3.588 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003351/9.632, allocations: 331.1 kB / 3.589 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/9.632, allocations: 0 / 3.589 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008073/9.64, allocations: 1.62 MB / 3.59 GB, free: 88.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01554/9.655, allocations: 4.253 MB / 3.594 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001772/9.657, allocations: 0.5157 MB / 3.595 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/9.657, allocations: 3.875 kB / 3.595 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004349/9.657, allocations: 366.8 kB / 3.595 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/9.658, allocations: 115.2 kB / 3.595 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.759/11.42, allocations: 495.8 MB / 4.079 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/11.42, allocations: 0.9383 MB / 4.08 GB, free: 73.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002497/11.42, allocations: 1.187 MB / 4.081 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006087/11.42, allocations: 266.3 kB / 4.082 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.695e-06/11.42, allocations: 4 kB / 4.082 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/11.54, allocations: 48.27 MB / 4.129 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/11.54, allocations: 199 kB / 4.129 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.05/15.59, allocations: 4 kB / 4.129 GB, free: 35.95 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