Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",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.00148/0.00148, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001116, allocations: 96.52 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3069/0.3069, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.191e-05, allocations: 224 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4163, allocations: 58.85 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.385/8.802, allocations: 2.759 GB / 3.225 GB, free: 27.77 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/8.802, allocations: 88.25 kB / 3.226 GB, free: 27.72 MB / 0.4952 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.135/10.94, allocations: 407.9 MB / 3.624 GB, free: 18.57 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.683e-06/10.94, allocations: 0 / 3.624 GB, free: 18.57 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 3.997e-05/10.94, allocations: 16 kB / 3.624 GB, free: 18.56 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006845/10.94, allocations: 1.531 MB / 3.625 GB, free: 16.98 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/10.94, allocations: 8.031 kB / 3.625 GB, free: 16.98 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/10.95, allocations: 247.2 kB / 3.626 GB, free: 16.73 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/10.95, allocations: 423 kB / 3.626 GB, free: 16.28 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/10.95, allocations: 20.69 kB / 3.626 GB, free: 16.26 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/10.95, allocations: 20 kB / 3.626 GB, free: 16.24 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008818/10.95, allocations: 353.4 kB / 3.626 GB, free: 15.9 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/10.95, allocations: 483 kB / 3.627 GB, free: 15.36 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/10.95, allocations: 3.938 kB / 3.627 GB, free: 15.36 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/10.95, allocations: 4 kB / 3.627 GB, free: 15.36 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/10.95, allocations: 8 kB / 3.627 GB, free: 15.35 MB / 0.4952 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.488/11.44, allocations: 35.51 MB / 3.662 GB, free: 39.46 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009214/11.44, allocations: 218 kB / 3.662 GB, free: 39.43 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/11.44, allocations: 99.7 kB / 3.662 GB, free: 39.43 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1833/11.62, allocations: 55.75 MB / 3.716 GB, free: 37.02 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/11.62, allocations: 39.2 kB / 3.716 GB, free: 36.98 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=22): time 3.567e-06/11.62, allocations: 0 / 3.716 GB, free: 36.98 MB / 0.5265 GB Notification: Performance of matching and sorting (n=22): time 0.003365/11.63, allocations: 0.5328 MB / 3.717 GB, free: 36.93 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/11.63, allocations: 102.8 kB / 3.717 GB, free: 36.8 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/11.63, allocations: 292.7 kB / 3.717 GB, free: 36.7 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/11.63, allocations: 29.2 kB / 3.717 GB, free: 36.67 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/11.63, allocations: 330.5 kB / 3.718 GB, free: 36.45 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-05/11.63, allocations: 79.62 kB / 3.718 GB, free: 36.41 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/11.63, allocations: 0 / 3.718 GB, free: 36.41 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001324/11.63, allocations: 330.6 kB / 3.718 GB, free: 36.1 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/11.63, allocations: 89.64 kB / 3.718 GB, free: 36.1 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/11.63, allocations: 253.4 kB / 3.718 GB, free: 35.9 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/11.63, allocations: 238.5 kB / 3.719 GB, free: 35.89 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/11.63, allocations: 0 / 3.719 GB, free: 35.89 MB / 0.5265 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002253/11.63, allocations: 493.7 kB / 3.719 GB, free: 35.83 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009069/11.63, allocations: 2.009 MB / 3.721 GB, free: 33.73 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/11.63, allocations: 7.938 kB / 3.721 GB, free: 33.73 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/11.63, allocations: 52.44 kB / 3.721 GB, free: 33.72 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/11.63, allocations: 101.3 kB / 3.721 GB, free: 33.72 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/11.64, allocations: 0.6533 MB / 3.722 GB, free: 33.2 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009535/11.64, allocations: 73 kB / 3.722 GB, free: 33.19 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/11.64, allocations: 29.2 kB / 3.722 GB, free: 33.18 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/11.64, allocations: 7.031 kB / 3.722 GB, free: 33.18 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001435/11.64, allocations: 347.9 kB / 3.722 GB, free: 33.18 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/11.64, allocations: 7.5 kB / 3.722 GB, free: 33.18 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/11.64, allocations: 7.188 kB / 3.722 GB, free: 33.18 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/11.64, allocations: 125.2 kB / 3.722 GB, free: 33.17 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/11.64, allocations: 8.922 kB / 3.722 GB, free: 33.17 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/11.64, allocations: 64.09 kB / 3.722 GB, free: 33.16 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/11.64, allocations: 21.39 kB / 3.722 GB, free: 33.16 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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: 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002316/11.64, allocations: 120.1 kB / 3.723 GB, free: 33.05 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001896/11.64, allocations: 352.8 kB / 3.723 GB, free: 32.99 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/11.64, allocations: 35.44 kB / 3.723 GB, free: 32.97 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/11.64, allocations: 1.468 MB / 3.724 GB, free: 32.82 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/11.64, allocations: 24.11 kB / 3.724 GB, free: 32.82 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/11.64, allocations: 0 / 3.724 GB, free: 32.82 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/11.64, allocations: 3.422 kB / 3.724 GB, free: 32.82 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/11.65, allocations: 2.051 MB / 3.726 GB, free: 32.44 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/11.65, allocations: 3.188 kB / 3.726 GB, free: 32.44 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/11.65, allocations: 49.66 kB / 3.726 GB, free: 32.44 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009164/11.65, allocations: 0.5901 MB / 3.727 GB, free: 32.41 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/11.65, allocations: 3.594 kB / 3.727 GB, free: 32.41 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/11.65, allocations: 1.111 MB / 3.728 GB, free: 31.87 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/11.65, allocations: 0 / 3.728 GB, free: 31.87 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/11.65, allocations: 1.173 MB / 3.729 GB, free: 31.58 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/11.65, allocations: 190.1 kB / 3.729 GB, free: 31.45 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/11.65, allocations: 3.703 kB / 3.729 GB, free: 31.45 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/11.65, allocations: 32.94 kB / 3.729 GB, free: 31.45 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/11.65, allocations: 23.77 kB / 3.729 GB, free: 31.45 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/11.65, allocations: 11.53 kB / 3.729 GB, free: 31.45 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.000323/11.66, allocations: 215.5 kB / 3.73 GB, free: 31.37 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.11e-07/11.66, allocations: 0 / 3.73 GB, free: 31.37 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.005998/11.66, allocations: 1.168 MB / 3.731 GB, free: 31.35 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/11.67, allocations: 3.305 MB / 3.734 GB, free: 30.32 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001627/11.68, allocations: 0.6095 MB / 3.735 GB, free: 30.31 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/11.68, allocations: 4.031 kB / 3.735 GB, free: 30.31 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/11.68, allocations: 386.5 kB / 3.735 GB, free: 30.3 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/11.68, allocations: 159 kB / 3.735 GB, free: 30.29 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/11.68, allocations: 1.419 MB / 3.737 GB, free: 29.97 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/11.69, allocations: 0.9372 MB / 3.737 GB, free: 29.26 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/11.69, allocations: 223.5 kB / 3.738 GB, free: 29.25 MB / 0.5265 GB Notification: Performance of SimCode: time 1.573e-06/11.69, allocations: 0 / 3.738 GB, free: 29.25 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.82/15.51, allocations: 33.36 MB / 3.77 GB, free: 26 MB / 0.5265 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat