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.001735/0.001735, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 86.64 kB / 261.7 MB, free: 1.684 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.2102/0.2102, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.833e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.265/7.401, allocations: 2.759 GB / 3.225 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/7.402, allocations: 86.44 kB / 3.226 GB, free: 157.4 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 1.498/8.9, allocations: 407.9 MB / 3.624 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/8.9, allocations: 0 / 3.624 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.3e-05/8.9, allocations: 15.53 kB / 3.624 GB, free: 63.99 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.00655/8.906, allocations: 1.522 MB / 3.625 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.682e-05/8.906, allocations: 12.25 kB / 3.625 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/8.908, allocations: 243.3 kB / 3.626 GB, free: 63.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/8.909, allocations: 425.7 kB / 3.626 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/8.909, allocations: 24.91 kB / 3.626 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/8.909, allocations: 27.06 kB / 3.626 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008187/8.91, allocations: 351.9 kB / 3.626 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008429/8.911, allocations: 477.7 kB / 3.627 GB, free: 62.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/8.911, allocations: 2.844 kB / 3.627 GB, free: 62.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/8.911, allocations: 6.344 kB / 3.627 GB, free: 62.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/8.911, allocations: 9.469 kB / 3.627 GB, free: 62.96 MB / 0.4948 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.06095/8.972, allocations: 35.52 MB / 3.662 GB, free: 41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/8.973, allocations: 220.2 kB / 3.662 GB, free: 40.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/8.973, allocations: 100.3 kB / 3.662 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.106/9.079, allocations: 55.72 MB / 3.716 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/9.079, allocations: 40.78 kB / 3.716 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 4.077e-06/9.079, allocations: 0 / 3.716 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.002318/9.081, allocations: 0.537 MB / 3.717 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/9.082, allocations: 110 kB / 3.717 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/9.082, allocations: 296 kB / 3.717 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/9.082, allocations: 25.7 kB / 3.717 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/9.082, allocations: 279.8 kB / 3.718 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/9.082, allocations: 74.7 kB / 3.718 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/9.082, allocations: 0 / 3.718 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001255/9.082, allocations: 341.5 kB / 3.718 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/9.083, allocations: 93.34 kB / 3.718 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/9.083, allocations: 258.1 kB / 3.718 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/9.084, allocations: 240.5 kB / 3.719 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/9.084, allocations: 3.281 kB / 3.719 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001454/9.085, allocations: 0.4885 MB / 3.719 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008606/9.086, allocations: 2.006 MB / 3.721 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/9.086, allocations: 3.906 kB / 3.721 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/9.087, allocations: 51.42 kB / 3.721 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/9.087, allocations: 102.3 kB / 3.721 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009283/9.088, allocations: 0.6676 MB / 3.722 GB, free: 17.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/9.088, allocations: 76.47 kB / 3.722 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/9.089, allocations: 23 kB / 3.722 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/9.089, allocations: 7.438 kB / 3.722 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008964/9.089, allocations: 346.2 kB / 3.722 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.76e-05/9.09, allocations: 7.562 kB / 3.722 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/9.09, allocations: 9.906 kB / 3.722 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/9.09, allocations: 115 kB / 3.722 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/9.09, allocations: 13.25 kB / 3.722 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/9.09, allocations: 59.14 kB / 3.722 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/9.09, allocations: 29.45 kB / 3.722 GB, free: 17.79 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 (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.0001718/9.091, allocations: 120.2 kB / 3.723 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001166/9.092, allocations: 353 kB / 3.723 GB, free: 17.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/9.092, allocations: 37.88 kB / 3.723 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/9.094, allocations: 1.468 MB / 3.724 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/9.094, allocations: 23.12 kB / 3.724 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/9.094, allocations: 0 / 3.724 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/9.094, allocations: 0 / 3.724 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/9.097, allocations: 2.054 MB / 3.726 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/9.097, allocations: 0 / 3.726 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/9.097, allocations: 51.22 kB / 3.726 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005944/9.098, allocations: 0.5825 MB / 3.727 GB, free: 32.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/9.098, allocations: 3.969 kB / 3.727 GB, free: 32.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009633/9.099, allocations: 1.107 MB / 3.728 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/9.099, allocations: 4.062 kB / 3.728 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/9.1, allocations: 1.176 MB / 3.729 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/9.101, allocations: 189 kB / 3.729 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/9.101, allocations: 2.516 kB / 3.729 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/9.101, allocations: 36.69 kB / 3.729 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/9.101, allocations: 31.52 kB / 3.729 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/9.101, allocations: 7 kB / 3.729 GB, free: 32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002621/9.101, allocations: 219.5 kB / 3.73 GB, free: 31.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.333e-06/9.101, allocations: 0 / 3.73 GB, free: 31.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006822/9.108, allocations: 1.166 MB / 3.731 GB, free: 31.73 MB / 0.5261 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.0107/9.119, allocations: 3.306 MB / 3.734 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001391/9.12, allocations: 0.619 MB / 3.735 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/9.12, allocations: 0 / 3.735 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004385/9.121, allocations: 383.8 kB / 3.735 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/9.122, allocations: 154.6 kB / 3.735 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/9.127, allocations: 1.4 MB / 3.737 GB, free: 30.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/9.128, allocations: 0.939 MB / 3.737 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008036/9.129, allocations: 0.5288 MB / 3.738 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/9.129, allocations: 219.7 kB / 3.738 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/9.129, allocations: 0 / 3.738 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/9.201, allocations: 37.49 MB / 3.775 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/9.201, allocations: 183.1 kB / 3.775 GB, free: 17.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/12.55, allocations: 0 / 3.775 GB, free: 17.89 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