Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002178/0.002177, allocations: 188.2 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.204/2.204, allocations: 205.4 MB / 222.5 MB, free: 13.77 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: 98.84 kB / 270.9 MB, free: 13.28 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.3006/0.3006, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 15.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1288, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02163/0.1505, allocations: 11.78 MB / 0.4903 GB, free: 13.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.07049/0.221, allocations: 22.4 MB / 0.5122 GB, free: 6.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002993/0.2214, allocations: 4 kB / 0.5122 GB, free: 6.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.2218, allocations: 79.58 kB / 0.5123 GB, free: 6.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03761/0.2595, allocations: 6.705 MB / 0.5188 GB, free: 160 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3795/0.639, allocations: 308.2 kB / 0.5191 GB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009261/0.6483, allocations: 3.037 MB / 0.5221 GB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.6485, allocations: 21.12 kB / 0.5221 GB, free: 13.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008621/0.6493, allocations: 278.5 kB / 0.5224 GB, free: 13.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01782/0.6672, allocations: 5.565 MB / 0.5278 GB, free: 13.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.6674, allocations: 8.031 kB / 0.5278 GB, free: 13.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03111/0.6985, allocations: 11.45 MB / 0.539 GB, free: 13.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.6987, allocations: 42.08 kB / 0.539 GB, free: 13.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.699, allocations: 77.14 kB / 0.5391 GB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.7118, allocations: 4.494 MB / 0.5435 GB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7119, allocations: 2.516 kB / 0.5435 GB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7119, allocations: 0 / 0.5435 GB, free: 11.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.7119, allocations: 4 kB / 0.5435 GB, free: 11.7 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.006194/0.7181, allocations: 1.547 MB / 0.545 GB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.7182, allocations: 14.08 kB / 0.545 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.7183, allocations: 73.38 kB / 0.5451 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.7203, allocations: 195.5 kB / 0.5453 GB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.7207, allocations: 262.5 kB / 0.5455 GB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.7208, allocations: 20.02 kB / 0.5456 GB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.7208, allocations: 29.75 kB / 0.5456 GB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/0.7237, allocations: 0.7494 MB / 0.5463 GB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.7238, allocations: 6.812 kB / 0.5463 GB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.7238, allocations: 21.67 kB / 0.5464 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.7238, allocations: 8 kB / 0.5464 GB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004052/0.7279, allocations: 0.8142 MB / 0.5472 GB, free: 8.355 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.00597/0.7339, allocations: 2.712 MB / 0.5498 GB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.7366, allocations: 355.5 kB / 0.5501 GB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8276/1.564, allocations: 142.5 MB / 0.6893 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00191/1.566, allocations: 438.4 kB / 0.6897 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 3.347e-06/1.566, allocations: 0 / 0.6897 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.006044/1.572, allocations: 1.118 MB / 0.6908 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002147/1.573, allocations: 373.3 kB / 0.6912 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/1.573, allocations: 193.1 kB / 0.6913 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/1.573, allocations: 32.77 kB / 0.6914 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/1.573, allocations: 250 kB / 0.6916 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.573, allocations: 122 kB / 0.6917 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/1.573, allocations: 6.5 kB / 0.6917 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.573, allocations: 325.3 kB / 0.692 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/1.574, allocations: 84.5 kB / 0.6921 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/1.574, allocations: 340.5 kB / 0.6925 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/1.575, allocations: 138.6 kB / 0.6926 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.575, allocations: 4 kB / 0.6926 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001383/1.576, allocations: 464.9 kB / 0.693 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.576, allocations: 8 kB / 0.693 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.576, allocations: 12.12 kB / 0.6931 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-05/1.576, allocations: 17.08 kB / 0.6931 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/1.579, allocations: 213.6 kB / 0.6933 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009096/1.58, allocations: 1.177 MB / 0.6944 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/1.581, allocations: 35.78 kB / 0.6945 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/1.581, allocations: 47.47 kB / 0.6945 GB, free: 10.04 MB / 0.5105 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 () * Number of clocked 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.0003252/1.581, allocations: 157.2 kB / 0.6946 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.582, allocations: 28.8 kB / 0.6947 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/1.586, allocations: 2.882 MB / 0.6975 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/1.587, allocations: 23.09 kB / 0.6975 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.587, allocations: 4 kB / 0.6975 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.587, allocations: 4 kB / 0.6975 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/1.588, allocations: 0.9687 MB / 0.6985 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.588, allocations: 5.969 kB / 0.6985 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.589, allocations: 97.7 kB / 0.6986 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003878/1.59, allocations: 167.1 kB / 0.6987 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/1.59, allocations: 11.81 kB / 0.6987 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005792/1.59, allocations: 0.6481 MB / 0.6994 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.59, allocations: 0 / 0.6994 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.592, allocations: 1.108 MB / 0.7005 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/1.593, allocations: 349.4 kB / 0.7008 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.593, allocations: 11.25 kB / 0.7008 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006406/1.594, allocations: 25.7 kB / 0.7008 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.594, allocations: 30.73 kB / 0.7008 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/1.594, allocations: 15.44 kB / 0.7009 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008987/1.595, allocations: 463.7 kB / 0.7013 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/1.595, allocations: 0 / 0.7013 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006432/1.601, allocations: 1.622 MB / 0.7029 GB, free: 3.121 MB / 0.5105 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 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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.3524/1.954, allocations: 4.08 MB / 0.7069 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0026/1.956, allocations: 0.5281 MB / 0.7074 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.956, allocations: 1.469 kB / 0.7074 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008763/1.957, allocations: 360.7 kB / 0.7077 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.959, allocations: 122.5 kB / 0.7079 GB, free: 196.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.971, allocations: 10.66 MB / 0.7183 GB, free: 188.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/1.972, allocations: 1.003 MB / 0.7192 GB, free: 187.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/1.973, allocations: 318.3 kB / 0.7195 GB, free: 187.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.134e-06/1.973, allocations: 0 / 0.7195 GB, free: 187.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.279/6.252, allocations: 44.06 MB / 0.7626 GB, free: 157.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat