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.001704/0.001704, allocations: 176.8 kB / 17.06 MB, free: 5.098 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.402/1.402, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009995, allocations: 91.88 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3668/0.3668, allocations: 44.22 MB / 387.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 8 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4022, allocations: 61.9 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.625/8.027, allocations: 2.765 GB / 3.275 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/8.028, allocations: 97.41 kB / 3.275 GB, free: 10.31 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.818/9.846, allocations: 417.6 MB / 3.683 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.334e-06/9.846, allocations: 0 / 3.683 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.284e-05/9.846, allocations: 8 kB / 3.683 GB, free: 19.41 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.008888/9.855, allocations: 1.579 MB / 3.685 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/9.855, allocations: 8.031 kB / 3.685 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003276/9.855, allocations: 86.52 kB / 3.685 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/9.857, allocations: 247.2 kB / 3.685 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/9.859, allocations: 427.3 kB / 3.685 GB, free: 17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.225e-05/9.859, allocations: 33 kB / 3.685 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/9.859, allocations: 36 kB / 3.685 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/9.861, allocations: 0.6944 MB / 3.686 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/9.861, allocations: 0 / 3.686 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/9.861, allocations: 16 kB / 3.686 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/9.861, allocations: 12 kB / 3.686 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/9.862, allocations: 0.5956 MB / 3.687 GB, free: 15.55 MB / 0.5261 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.004305/9.867, allocations: 3.24 MB / 3.69 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/9.868, allocations: 422.4 kB / 3.69 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.562/10.43, allocations: 55.53 MB / 3.745 GB, free: 30.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.342e-05/10.43, allocations: 37.98 kB / 3.745 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.635e-06/10.43, allocations: 3.266 kB / 3.745 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.003302/10.43, allocations: 0.8956 MB / 3.745 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/10.43, allocations: 108.7 kB / 3.746 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/10.43, allocations: 343.3 kB / 3.746 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/10.43, allocations: 29.73 kB / 3.746 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/10.43, allocations: 263 kB / 3.746 GB, free: 29.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/10.43, allocations: 94.05 kB / 3.746 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/10.43, allocations: 8.812 kB / 3.746 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001214/10.43, allocations: 351.9 kB / 3.747 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/10.43, allocations: 134 kB / 3.747 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/10.44, allocations: 298.5 kB / 3.747 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/10.44, allocations: 170.9 kB / 3.747 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/10.44, allocations: 2.516 kB / 3.747 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001266/10.44, allocations: 0.5016 MB / 3.748 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007667/10.44, allocations: 2.01 MB / 3.75 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/10.44, allocations: 6.25 kB / 3.75 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/10.44, allocations: 340.5 kB / 3.75 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/10.44, allocations: 104 kB / 3.75 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004817/10.44, allocations: 0.597 MB / 3.751 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/10.44, allocations: 74.84 kB / 3.751 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/10.44, allocations: 25.73 kB / 3.751 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/10.44, allocations: 4.641 kB / 3.751 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/10.44, allocations: 415.7 kB / 3.751 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/10.44, allocations: 5.406 kB / 3.751 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/10.44, allocations: 12.11 kB / 3.751 GB, free: 26.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/10.44, allocations: 120.9 kB / 3.751 GB, free: 26.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/10.44, allocations: 10.3 kB / 3.751 GB, free: 26.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/10.44, allocations: 69.64 kB / 3.751 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/10.44, allocations: 22.91 kB / 3.751 GB, free: 26.68 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 () * 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.0003564/10.44, allocations: 251.3 kB / 3.752 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/10.44, allocations: 45.05 kB / 3.752 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/10.45, allocations: 1.905 MB / 3.753 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/10.45, allocations: 30.33 kB / 3.754 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/10.45, allocations: 0 / 3.754 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/10.45, allocations: 0 / 3.754 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/10.45, allocations: 0.9513 MB / 3.754 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/10.45, allocations: 3.875 kB / 3.754 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/10.45, allocations: 78.25 kB / 3.755 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/10.45, allocations: 0.6408 MB / 3.755 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/10.45, allocations: 7.156 kB / 3.755 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007358/10.45, allocations: 0.9966 MB / 3.756 GB, free: 25.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/10.45, allocations: 1.406 kB / 3.756 GB, free: 25.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/10.45, allocations: 1.294 MB / 3.757 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/10.45, allocations: 255.3 kB / 3.758 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/10.45, allocations: 9.719 kB / 3.758 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/10.45, allocations: 45.88 kB / 3.758 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/10.45, allocations: 29.58 kB / 3.758 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/10.45, allocations: 10.91 kB / 3.758 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001926/10.46, allocations: 376.5 kB / 3.758 GB, free: 41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/10.46, allocations: 2.625 kB / 3.758 GB, free: 41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007474/10.46, allocations: 1.204 MB / 3.759 GB, free: 41 MB / 0.5417 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.01268/10.48, allocations: 3.185 MB / 3.762 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002619/10.48, allocations: 0.7936 MB / 3.763 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/10.48, allocations: 0 / 3.763 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009948/10.48, allocations: 489.2 kB / 3.764 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/10.48, allocations: 230.2 kB / 3.764 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/10.5, allocations: 7.288 MB / 3.771 GB, free: 35.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008994/10.5, allocations: 0.9869 MB / 3.772 GB, free: 34.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001264/10.5, allocations: 455.5 kB / 3.772 GB, free: 34.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/10.5, allocations: 264 kB / 3.773 GB, free: 34.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.603e-06/10.5, allocations: 0 / 3.773 GB, free: 34.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09417/10.59, allocations: 45.59 MB / 3.817 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/10.59, allocations: 262.6 kB / 3.817 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/14.14, allocations: 3.688 kB / 3.817 GB, free: 32.05 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