Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001641, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002362/0.002362, allocations: 177.8 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5093/0.5093, allocations: 43.55 MB / 314.5 MB, free: 8.699 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005409/0.000541, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.159, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3371/0.4961, allocations: 33.12 MB / 476 MB, free: 31.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0194/0.5156, allocations: 17.21 MB / 493.2 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.5173, allocations: 28.72 kB / 493.2 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.5189, allocations: 390.5 kB / 493.6 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.5345, allocations: 4.001 MB / 497.6 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008572/0.5431, allocations: 2.093 MB / 499.7 MB, free: 16.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002492/0.5456, allocations: 1.153 MB / 0.4891 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008626/0.5465, allocations: 417.1 kB / 0.4895 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01374/0.5603, allocations: 6.277 MB / 0.4956 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01654/0.5769, allocations: 8.748 MB / 0.5042 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.5772, allocations: 35.34 kB / 0.5042 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/0.5936, allocations: 7.029 MB / 0.5111 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.5941, allocations: 223.3 kB / 0.5113 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.5946, allocations: 185.3 kB / 0.5115 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00885/0.6034, allocations: 3.368 MB / 0.5147 GB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6035, allocations: 4 kB / 0.5147 GB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6035, allocations: 0 / 0.5147 GB, free: 6.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.6035, allocations: 0 / 0.5147 GB, free: 6.637 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005075/0.6086, allocations: 1.465 MB / 0.5162 GB, free: 5.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6087, allocations: 12.02 kB / 0.5162 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.6088, allocations: 110.5 kB / 0.5163 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.6102, allocations: 222.8 kB / 0.5165 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009527/0.6112, allocations: 0.5199 MB / 0.517 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.6113, allocations: 113.3 kB / 0.5171 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.6114, allocations: 67.92 kB / 0.5172 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.6131, allocations: 1.056 MB / 0.5182 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.6132, allocations: 7.875 kB / 0.5182 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.6132, allocations: 31.98 kB / 0.5183 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.6133, allocations: 44.98 kB / 0.5183 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.6147, allocations: 0.8193 MB / 0.5191 GB, free: 1.961 MB / 382.1 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.00676/0.6215, allocations: 5.569 MB / 0.5245 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.6228, allocations: 0.534 MB / 0.5251 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1039/0.7267, allocations: 47.87 MB / 0.5718 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.7268, allocations: 45.44 kB / 0.5719 GB, free: 5.941 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 3.566e-06/0.7268, allocations: 4 kB / 0.5719 GB, free: 5.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006689/0.7335, allocations: 2.128 MB / 0.5739 GB, free: 3.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.7337, allocations: 187.9 kB / 0.5741 GB, free: 3.523 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.7346, allocations: 0.6328 MB / 0.5747 GB, free: 2.883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.7346, allocations: 41.69 kB / 0.5748 GB, free: 2.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.735, allocations: 395.3 kB / 0.5751 GB, free: 2.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.7352, allocations: 165.7 kB / 0.5753 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.7352, allocations: 12 kB / 0.5753 GB, free: 2.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.7355, allocations: 382.8 kB / 0.5757 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.7359, allocations: 225.9 kB / 0.5759 GB, free: 1.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.7365, allocations: 0.5868 MB / 0.5765 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.737, allocations: 339.6 kB / 0.5768 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.737, allocations: 4 kB / 0.5768 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001469/0.7385, allocations: 0.8918 MB / 0.5777 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.7386, allocations: 8 kB / 0.5777 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.7386, allocations: 12 kB / 0.5777 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00331/0.7419, allocations: 281 kB / 0.578 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.7432, allocations: 279.6 kB / 0.5782 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.7453, allocations: 2.026 MB / 0.5802 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/0.7462, allocations: 60.16 kB / 0.5803 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.7463, allocations: 40 kB / 0.5803 GB, free: 12.81 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.000545/0.7469, allocations: 277.4 kB / 0.5806 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.7471, allocations: 71.16 kB / 0.5806 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.7498, allocations: 2.022 MB / 0.5826 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.7498, allocations: 19.97 kB / 0.5826 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7498, allocations: 4 kB / 0.5826 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.7498, allocations: 8.016 kB / 0.5826 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/0.7541, allocations: 3.003 MB / 0.5856 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.7542, allocations: 0 / 0.5856 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009473/0.7551, allocations: 188.8 kB / 0.5857 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.7569, allocations: 311.9 kB / 0.586 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.7569, allocations: 15.98 kB / 0.5861 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.7588, allocations: 2.078 MB / 0.5881 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7588, allocations: 0 / 0.5881 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.7611, allocations: 1.972 MB / 0.59 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.7617, allocations: 283.3 kB / 0.5903 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.7618, allocations: 8 kB / 0.5903 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.7623, allocations: 35.95 kB / 0.5903 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.7624, allocations: 32.39 kB / 0.5904 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.7624, allocations: 19.98 kB / 0.5904 GB, free: 2.176 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008184/0.7632, allocations: 0.5615 MB / 0.5909 GB, free: 1.617 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7632, allocations: 8 kB / 0.5909 GB, free: 1.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003946/0.7672, allocations: 1.097 MB / 0.592 GB, free: 0.5117 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007524/0.7747, allocations: 3.737 MB / 0.5957 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.777, allocations: 0.9168 MB / 0.5966 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.777, allocations: 0 / 0.5966 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.7783, allocations: 0.6319 MB / 0.5972 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.7805, allocations: 383.7 kB / 0.5975 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.7944, allocations: 13.61 MB / 0.6108 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.7953, allocations: 1.113 MB / 0.6119 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009931/0.7963, allocations: 346.2 kB / 0.6122 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.7967, allocations: 375.3 kB / 0.6126 GB, free: 11.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7967, allocations: 4 kB / 0.6126 GB, free: 11.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.363/1.16, allocations: 54.61 MB / 0.6659 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/1.16, allocations: 283.4 kB / 0.6662 GB, free: 140.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.622/5.782, allocations: 4 kB / 0.6662 GB, free: 140.1 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat