Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_3_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.001638/0.001638, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001034/0.001034, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2584/0.2584, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.703/7.866, allocations: 2.76 GB / 3.239 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/7.866, allocations: 94.92 kB / 3.239 GB, free: 80.7 MB / 0.5105 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 1.653/9.519, allocations: 413.2 MB / 3.643 GB, free: 63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.575e-06/9.519, allocations: 0 / 3.643 GB, free: 63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.357e-05/9.52, allocations: 15.03 kB / 3.643 GB, free: 62.99 MB / 0.5105 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.006917/9.526, allocations: 1.579 MB / 3.644 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/9.527, allocations: 6.594 kB / 3.644 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/9.527, allocations: 79.98 kB / 3.644 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/9.529, allocations: 246.5 kB / 3.645 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009909/9.53, allocations: 422.5 kB / 3.645 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/9.53, allocations: 35.58 kB / 3.645 GB, free: 61.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/9.53, allocations: 37.81 kB / 3.645 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/9.532, allocations: 0.6988 MB / 3.646 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/9.532, allocations: 0 / 3.646 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/9.532, allocations: 19.5 kB / 3.646 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/9.532, allocations: 10.03 kB / 3.646 GB, free: 61.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/9.533, allocations: 0.5838 MB / 3.646 GB, free: 61.06 MB / 0.5105 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.003846/9.537, allocations: 3.247 MB / 3.649 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/9.538, allocations: 424.6 kB / 3.65 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09775/9.636, allocations: 55.54 MB / 3.704 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/9.636, allocations: 38.56 kB / 3.704 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 3.997e-06/9.636, allocations: 4 kB / 3.704 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.003183/9.639, allocations: 0.8847 MB / 3.705 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/9.64, allocations: 114.8 kB / 3.705 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/9.64, allocations: 344.2 kB / 3.705 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/9.64, allocations: 33.64 kB / 3.705 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/9.64, allocations: 261.4 kB / 3.706 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/9.64, allocations: 90.08 kB / 3.706 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/9.64, allocations: 12 kB / 3.706 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001009/9.64, allocations: 350.4 kB / 3.706 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/9.641, allocations: 139.2 kB / 3.706 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/9.641, allocations: 295 kB / 3.707 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/9.642, allocations: 173 kB / 3.707 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/9.642, allocations: 4 kB / 3.707 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00104/9.643, allocations: 0.5006 MB / 3.707 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004847/9.643, allocations: 2.007 MB / 3.709 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/9.643, allocations: 4 kB / 3.709 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/9.646, allocations: 337.9 kB / 3.71 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/9.646, allocations: 106.6 kB / 3.71 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004531/9.647, allocations: 0.6018 MB / 3.71 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/9.647, allocations: 78.77 kB / 3.71 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/9.647, allocations: 20 kB / 3.71 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/9.647, allocations: 4 kB / 3.71 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008229/9.648, allocations: 424.6 kB / 3.711 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/9.648, allocations: 4 kB / 3.711 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/9.648, allocations: 8 kB / 3.711 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/9.649, allocations: 119.2 kB / 3.711 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/9.649, allocations: 8.375 kB / 3.711 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/9.649, allocations: 67.38 kB / 3.711 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/9.649, allocations: 20 kB / 3.711 GB, free: 8.266 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.00031/9.649, allocations: 264.7 kB / 3.711 GB, free: 8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/9.65, allocations: 39.53 kB / 3.711 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/9.652, allocations: 1.899 MB / 3.713 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/9.652, allocations: 30.95 kB / 3.713 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/9.652, allocations: 4 kB / 3.713 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/9.652, allocations: 0 / 3.713 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/9.653, allocations: 0.9605 MB / 3.714 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/9.653, allocations: 4 kB / 3.714 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/9.653, allocations: 74.05 kB / 3.714 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/9.655, allocations: 0.6374 MB / 3.715 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/9.655, allocations: 11.8 kB / 3.715 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006949/9.655, allocations: 0.9918 MB / 3.716 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/9.655, allocations: 4.031 kB / 3.716 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/9.657, allocations: 1.284 MB / 3.717 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/9.657, allocations: 257.2 kB / 3.717 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/9.657, allocations: 7.953 kB / 3.717 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/9.658, allocations: 43.39 kB / 3.717 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/9.658, allocations: 27.16 kB / 3.717 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/9.658, allocations: 15.89 kB / 3.717 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004794/9.658, allocations: 381.8 kB / 3.718 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/9.658, allocations: 0 / 3.718 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008011/9.666, allocations: 1.203 MB / 3.719 GB, free: 0.8008 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.01546/9.682, allocations: 3.19 MB / 3.722 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002188/9.684, allocations: 0.7994 MB / 3.723 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/9.684, allocations: 0 / 3.723 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007882/9.685, allocations: 477.1 kB / 3.723 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/9.686, allocations: 237.6 kB / 3.723 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/9.698, allocations: 7.288 MB / 3.731 GB, free: 5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/9.698, allocations: 0.9874 MB / 3.732 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009906/9.699, allocations: 452.9 kB / 3.732 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/9.7, allocations: 263.3 kB / 3.732 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of SimCode: time 1.412e-06/9.7, allocations: 4 kB / 3.732 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4069/10.11, allocations: 45.54 MB / 3.777 GB, free: 79.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/10.11, allocations: 260.2 kB / 3.777 GB, free: 79.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.537/13.64, allocations: 0 / 3.777 GB, free: 79.22 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat