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.002273/0.002272, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.028/2.028, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001155/0.001154, allocations: 94.67 kB / 270.9 MB, free: 8.375 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.5222/0.5222, allocations: 43.54 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005134, allocations: 12 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1408, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.641/8.782, allocations: 2.76 GB / 3.239 GB, free: 50.26 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/8.782, allocations: 88.7 kB / 3.239 GB, free: 50.21 MB / 0.4948 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.128/10.91, allocations: 413.2 MB / 3.643 GB, free: 27.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/10.91, allocations: 0 / 3.643 GB, free: 27.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.934e-05/10.91, allocations: 8 kB / 3.643 GB, free: 27.18 MB / 0.4948 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.007028/10.92, allocations: 1.57 MB / 3.644 GB, free: 25.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/10.92, allocations: 11.97 kB / 3.644 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002059/10.92, allocations: 86.45 kB / 3.644 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/10.92, allocations: 248.2 kB / 3.645 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/10.92, allocations: 420 kB / 3.645 GB, free: 24.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/10.92, allocations: 32.98 kB / 3.645 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/10.92, allocations: 39.95 kB / 3.645 GB, free: 24.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/10.92, allocations: 0.6955 MB / 3.646 GB, free: 23.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/10.92, allocations: 7.938 kB / 3.646 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.209e-05/10.92, allocations: 16 kB / 3.646 GB, free: 23.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/10.92, allocations: 12 kB / 3.646 GB, free: 23.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/10.93, allocations: 0.584 MB / 3.646 GB, free: 23.32 MB / 0.4948 GB 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.005265/10.93, allocations: 3.242 MB / 3.649 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/10.93, allocations: 430.3 kB / 3.65 GB, free: 19.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5689/11.5, allocations: 55.52 MB / 3.704 GB, free: 48.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/11.5, allocations: 37.22 kB / 3.704 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 2.424e-06/11.5, allocations: 0 / 3.704 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.004736/11.51, allocations: 0.8917 MB / 3.705 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/11.51, allocations: 108.5 kB / 3.705 GB, free: 48.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/11.51, allocations: 347.8 kB / 3.705 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/11.51, allocations: 35.42 kB / 3.705 GB, free: 48.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/11.51, allocations: 296 kB / 3.706 GB, free: 48.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/11.51, allocations: 98.33 kB / 3.706 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/11.51, allocations: 7.5 kB / 3.706 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.017e-05/11.51, allocations: 325.7 kB / 3.706 GB, free: 47.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/11.51, allocations: 138.8 kB / 3.706 GB, free: 47.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/11.51, allocations: 300.6 kB / 3.707 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/11.51, allocations: 171.2 kB / 3.707 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/11.51, allocations: 0 / 3.707 GB, free: 47.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001758/11.51, allocations: 492.8 kB / 3.707 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/11.51, allocations: 2.008 MB / 3.709 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/11.51, allocations: 7.094 kB / 3.709 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004793/11.52, allocations: 341.1 kB / 3.709 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/11.52, allocations: 97.11 kB / 3.71 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006273/11.52, allocations: 0.591 MB / 3.71 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/11.52, allocations: 83.14 kB / 3.71 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/11.52, allocations: 21.28 kB / 3.71 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/11.52, allocations: 3.812 kB / 3.71 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/11.52, allocations: 425 kB / 3.711 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/11.52, allocations: 6.812 kB / 3.711 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/11.52, allocations: 6.5 kB / 3.711 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/11.52, allocations: 120 kB / 3.711 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/11.52, allocations: 14.73 kB / 3.711 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/11.52, allocations: 58.66 kB / 3.711 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/11.52, allocations: 25.62 kB / 3.711 GB, free: 44.88 MB / 0.5105 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 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked 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.0004272/11.52, allocations: 241.6 kB / 3.711 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/11.52, allocations: 46.14 kB / 3.711 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/11.53, allocations: 1.896 MB / 3.713 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/11.53, allocations: 30.77 kB / 3.713 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/11.53, allocations: 3.312 kB / 3.713 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/11.53, allocations: 0 / 3.713 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/11.53, allocations: 0.9611 MB / 3.714 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/11.53, allocations: 0 / 3.714 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/11.53, allocations: 77.22 kB / 3.714 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/11.53, allocations: 0.6357 MB / 3.715 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/11.53, allocations: 13.5 kB / 3.715 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009535/11.53, allocations: 0.9987 MB / 3.716 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/11.53, allocations: 2.625 kB / 3.716 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/11.54, allocations: 1.292 MB / 3.717 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/11.54, allocations: 255.1 kB / 3.717 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/11.54, allocations: 7.656 kB / 3.717 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/11.54, allocations: 42.83 kB / 3.717 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/11.54, allocations: 30.98 kB / 3.717 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/11.54, allocations: 15.66 kB / 3.717 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006288/11.54, allocations: 375 kB / 3.718 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/11.54, allocations: 2.344 kB / 3.718 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006041/11.54, allocations: 1.211 MB / 3.719 GB, free: 43.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01301/11.56, allocations: 3.165 MB / 3.722 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00272/11.56, allocations: 0.7988 MB / 3.723 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/11.56, allocations: 0 / 3.723 GB, free: 42.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/11.56, allocations: 483.2 kB / 3.723 GB, free: 42.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/11.56, allocations: 245.4 kB / 3.723 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/11.58, allocations: 7.327 MB / 3.731 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/11.58, allocations: 0.9886 MB / 3.731 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/11.58, allocations: 264 kB / 3.732 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/11.58, allocations: 0 / 3.732 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.95/15.53, allocations: 34.38 MB / 3.765 GB, free: 34.07 MB / 0.5105 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