Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009174, allocations: 87.69 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.243e-05/4.262e-05, allocations: 8.203 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1532, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.933/8.086, allocations: 2.765 GB / 3.267 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/8.086, allocations: 81.52 kB / 3.267 GB, free: 99.33 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 1.62/9.707, allocations: 416.4 MB / 3.674 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/9.707, allocations: 0 / 3.674 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.723e-05/9.707, allocations: 11.28 kB / 3.674 GB, free: 70.44 MB / 0.5261 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.005129/9.712, allocations: 1.531 MB / 3.675 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/9.712, allocations: 11.75 kB / 3.675 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/9.712, allocations: 76.92 kB / 3.676 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/9.714, allocations: 255.7 kB / 3.676 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/9.715, allocations: 416.9 kB / 3.676 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/9.715, allocations: 28.66 kB / 3.676 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/9.715, allocations: 42.28 kB / 3.676 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/9.716, allocations: 0.679 MB / 3.677 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/9.716, allocations: 3.781 kB / 3.677 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/9.716, allocations: 15.78 kB / 3.677 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/9.716, allocations: 14.88 kB / 3.677 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/9.717, allocations: 0.5488 MB / 3.678 GB, free: 68.56 MB / 0.5261 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.002995/9.72, allocations: 3.244 MB / 3.681 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/9.721, allocations: 402.2 kB / 3.681 GB, free: 65.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/9.721, allocations: 123.5 kB / 3.681 GB, free: 65.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09298/9.814, allocations: 55.76 MB / 3.736 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/9.815, allocations: 36.97 kB / 3.736 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.395e-06/9.815, allocations: 0 / 3.736 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002022/9.817, allocations: 0.6432 MB / 3.736 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/9.817, allocations: 106.7 kB / 3.736 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/9.817, allocations: 345.2 kB / 3.737 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/9.817, allocations: 29.7 kB / 3.737 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/9.817, allocations: 259.8 kB / 3.737 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/9.817, allocations: 94.41 kB / 3.737 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/9.817, allocations: 4 kB / 3.737 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/9.817, allocations: 353.5 kB / 3.737 GB, free: 28.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/9.817, allocations: 96.45 kB / 3.738 GB, free: 28.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/9.818, allocations: 267.5 kB / 3.738 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/9.818, allocations: 136.4 kB / 3.738 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/9.818, allocations: 3.953 kB / 3.738 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006024/9.819, allocations: 440.4 kB / 3.738 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003453/9.819, allocations: 2.013 MB / 3.74 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/9.819, allocations: 3.781 kB / 3.74 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/9.821, allocations: 332.2 kB / 3.741 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/9.822, allocations: 102.7 kB / 3.741 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004176/9.822, allocations: 0.5872 MB / 3.741 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/9.823, allocations: 78.31 kB / 3.741 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/9.823, allocations: 25.75 kB / 3.741 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/9.823, allocations: 3.906 kB / 3.741 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005041/9.823, allocations: 341.8 kB / 3.742 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/9.823, allocations: 3.5 kB / 3.742 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/9.823, allocations: 8.875 kB / 3.742 GB, free: 25.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/9.824, allocations: 118.6 kB / 3.742 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/9.824, allocations: 11.72 kB / 3.742 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/9.824, allocations: 70.42 kB / 3.742 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/9.824, allocations: 28.25 kB / 3.742 GB, free: 25.1 MB / 0.5261 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 () * 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.0001214/9.824, allocations: 133.2 kB / 3.742 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/9.824, allocations: 42.48 kB / 3.742 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/9.826, allocations: 1.862 MB / 3.744 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/9.826, allocations: 25.97 kB / 3.744 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/9.826, allocations: 0 / 3.744 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/9.826, allocations: 7.281 kB / 3.744 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008507/9.827, allocations: 0.9623 MB / 3.745 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/9.827, allocations: 3.75 kB / 3.745 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/9.827, allocations: 68.41 kB / 3.745 GB, free: 23.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/9.829, allocations: 0.7661 MB / 3.746 GB, free: 22.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/9.829, allocations: 11.94 kB / 3.746 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005964/9.829, allocations: 0.9947 MB / 3.747 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/9.829, allocations: 0 / 3.747 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/9.83, allocations: 1.221 MB / 3.748 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/9.831, allocations: 254.1 kB / 3.748 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/9.831, allocations: 4 kB / 3.748 GB, free: 20.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/9.831, allocations: 38.81 kB / 3.748 GB, free: 20.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/9.831, allocations: 34.48 kB / 3.748 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/9.831, allocations: 15.95 kB / 3.748 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003548/9.831, allocations: 370.8 kB / 3.749 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/9.831, allocations: 4 kB / 3.749 GB, free: 20.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005021/9.836, allocations: 1.21 MB / 3.75 GB, free: 18.88 MB / 0.5261 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 () * 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.009793/9.846, allocations: 3.102 MB / 3.753 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001448/9.848, allocations: 0.7011 MB / 3.753 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/9.848, allocations: 0 / 3.753 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004976/9.848, allocations: 443.1 kB / 3.754 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/9.85, allocations: 231.8 kB / 3.754 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/9.854, allocations: 1.596 MB / 3.756 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/9.855, allocations: 0.9859 MB / 3.757 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007302/9.856, allocations: 472.6 kB / 3.757 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/9.856, allocations: 256.9 kB / 3.757 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of SimCode: time 2.024e-06/9.856, allocations: 0 / 3.757 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4034/10.26, allocations: 48.77 MB / 3.805 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/10.26, allocations: 232 kB / 3.805 GB, free: 82.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.709/13.97, allocations: 0 / 3.805 GB, free: 82.57 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat