Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",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.002374/0.00238, allocations: 187.7 kB / 16.4 MB, free: 5.625 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.263/2.263, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001169/0.001169, allocations: 82.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.318/0.318, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006016/0.0006017, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1242, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02162/0.1458, allocations: 11.78 MB / 0.4903 GB, free: 13.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04361/0.1895, allocations: 22.4 MB / 0.5122 GB, free: 6.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.1899, allocations: 8 kB / 0.5122 GB, free: 6.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.1903, allocations: 79.56 kB / 0.5123 GB, free: 6.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03044/0.2208, allocations: 6.705 MB / 0.5188 GB, free: 160 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3399/0.5607, allocations: 308.2 kB / 0.5191 GB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009559/0.5703, allocations: 3.036 MB / 0.5221 GB, free: 13.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.5705, allocations: 22.31 kB / 0.5221 GB, free: 13.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.5715, allocations: 284 kB / 0.5224 GB, free: 13.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01733/0.5889, allocations: 5.574 MB / 0.5278 GB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.254e-05/0.589, allocations: 9.094 kB / 0.5278 GB, free: 13.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03017/0.6192, allocations: 10.69 MB / 0.5383 GB, free: 13.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.6194, allocations: 45.47 kB / 0.5383 GB, free: 13.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.6197, allocations: 77.92 kB / 0.5384 GB, free: 13.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.6321, allocations: 4.208 MB / 0.5425 GB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6322, allocations: 0 / 0.5425 GB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6322, allocations: 0 / 0.5425 GB, free: 12.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.6322, allocations: 0 / 0.5425 GB, free: 12.45 MB / 362.7 MB 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.006529/0.6387, allocations: 1.49 MB / 0.544 GB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.6388, allocations: 12.02 kB / 0.544 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.639, allocations: 74.91 kB / 0.5441 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.6414, allocations: 224.7 kB / 0.5443 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.6419, allocations: 273 kB / 0.5445 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.642, allocations: 30.44 kB / 0.5446 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.642, allocations: 33.23 kB / 0.5446 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.6455, allocations: 0.8257 MB / 0.5454 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6456, allocations: 0 / 0.5454 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.6456, allocations: 14.06 kB / 0.5454 GB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.6456, allocations: 8 kB / 0.5454 GB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/0.6494, allocations: 0.9505 MB / 0.5463 GB, free: 8.965 MB / 362.7 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.004544/0.654, allocations: 2.587 MB / 0.5489 GB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.656, allocations: 377.7 kB / 0.5492 GB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508/2.164, allocations: 227.1 MB / 0.771 GB, free: 173.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001951/2.166, allocations: 471.7 kB / 0.7715 GB, free: 172.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.556e-06/2.166, allocations: 0 / 0.7715 GB, free: 172.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.004236/2.171, allocations: 0.7743 MB / 0.7722 GB, free: 172.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/2.171, allocations: 375.8 kB / 0.7726 GB, free: 171.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/2.171, allocations: 194.7 kB / 0.7728 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/2.171, allocations: 33.7 kB / 0.7728 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/2.171, allocations: 255.3 kB / 0.773 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/2.171, allocations: 115.2 kB / 0.7731 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/2.171, allocations: 10.52 kB / 0.7731 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/2.171, allocations: 322.8 kB / 0.7735 GB, free: 170.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/2.172, allocations: 85.06 kB / 0.7735 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/2.172, allocations: 344.5 kB / 0.7739 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/2.173, allocations: 133.7 kB / 0.774 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/2.173, allocations: 4 kB / 0.774 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001275/2.174, allocations: 469.1 kB / 0.7744 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/2.174, allocations: 10.66 kB / 0.7745 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/2.174, allocations: 16.12 kB / 0.7745 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/2.174, allocations: 12 kB / 0.7745 GB, free: 169.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/2.175, allocations: 139.8 kB / 0.7746 GB, free: 169.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/2.175, allocations: 23.88 kB / 0.7746 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/2.175, allocations: 44.58 kB / 0.7747 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/2.175, allocations: 46.05 kB / 0.7747 GB, free: 169.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002065/2.176, allocations: 166.1 kB / 0.7749 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/2.176, allocations: 31.81 kB / 0.7749 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/2.179, allocations: 2.653 MB / 0.7775 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/2.179, allocations: 17.84 kB / 0.7775 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/2.18, allocations: 4 kB / 0.7775 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/2.18, allocations: 11.94 kB / 0.7775 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/2.181, allocations: 0.9262 MB / 0.7784 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/2.181, allocations: 3.688 kB / 0.7784 GB, free: 165.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/2.182, allocations: 75.86 kB / 0.7785 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/2.182, allocations: 4 kB / 0.7785 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/2.182, allocations: 12.16 kB / 0.7785 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/2.182, allocations: 11.98 kB / 0.7785 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/2.182, allocations: 7.938 kB / 0.7785 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/2.183, allocations: 0.836 MB / 0.7794 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/2.183, allocations: 378.7 kB / 0.7797 GB, free: 164 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/2.184, allocations: 15.98 kB / 0.7797 GB, free: 164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/2.184, allocations: 16.17 kB / 0.7798 GB, free: 164 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/2.184, allocations: 35.91 kB / 0.7798 GB, free: 164 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/2.184, allocations: 20 kB / 0.7798 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008038/2.185, allocations: 0.5 MB / 0.7803 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/2.185, allocations: 0 / 0.7803 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005452/2.191, allocations: 1.516 MB / 0.7818 GB, free: 162.1 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: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01297/2.204, allocations: 3.815 MB / 0.7855 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001151/2.205, allocations: 407.3 kB / 0.7859 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/2.205, allocations: 8.312 kB / 0.7859 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004841/2.205, allocations: 268.7 kB / 0.7862 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/2.207, allocations: 131.6 kB / 0.7863 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/2.218, allocations: 10.52 MB / 0.7966 GB, free: 147 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/2.218, allocations: 1.001 MB / 0.7975 GB, free: 146 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/2.219, allocations: 327.3 kB / 0.7978 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.203e-06/2.219, allocations: 0 / 0.7978 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.019/6.238, allocations: 39.19 MB / 0.8361 GB, free: 106.4 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat