Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.00101, allocations: 97.05 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 45.14 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.835e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.48/7.611, allocations: 2.766 GB / 3.27 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/7.612, allocations: 83.58 kB / 3.27 GB, free: 143 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.519/9.131, allocations: 412.5 MB / 3.673 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.327e-06/9.131, allocations: 0 / 3.673 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.564e-05/9.131, allocations: 9.625 kB / 3.673 GB, free: 69.24 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.006795/9.138, allocations: 1.543 MB / 3.675 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/9.138, allocations: 10.28 kB / 3.675 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/9.14, allocations: 257.5 kB / 3.675 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/9.141, allocations: 421.2 kB / 3.675 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/9.141, allocations: 15.5 kB / 3.675 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/9.141, allocations: 23.5 kB / 3.675 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006505/9.142, allocations: 349.5 kB / 3.676 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/9.143, allocations: 482.8 kB / 3.676 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/9.143, allocations: 4.969 kB / 3.676 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.181e-05/9.143, allocations: 0 / 3.676 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/9.143, allocations: 14.72 kB / 3.676 GB, free: 68.07 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.06408/9.207, allocations: 39.22 MB / 3.714 GB, free: 42.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/9.207, allocations: 214.4 kB / 3.715 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/9.208, allocations: 101.3 kB / 3.715 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1092/9.317, allocations: 62.01 MB / 3.775 GB, free: 32.49 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/9.317, allocations: 30.56 kB / 3.775 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=22): time 2.445e-06/9.317, allocations: 3.812 kB / 3.775 GB, free: 32.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22): time 0.002259/9.319, allocations: 0.5405 MB / 3.776 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.649e-05/9.319, allocations: 106.4 kB / 3.776 GB, free: 32.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/9.32, allocations: 296.4 kB / 3.776 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/9.32, allocations: 25.7 kB / 3.776 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/9.32, allocations: 281.4 kB / 3.777 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/9.32, allocations: 70.05 kB / 3.777 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/9.32, allocations: 4 kB / 3.777 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001462/9.32, allocations: 348.8 kB / 3.777 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/9.32, allocations: 87 kB / 3.777 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/9.321, allocations: 252.5 kB / 3.777 GB, free: 31.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/9.322, allocations: 242.9 kB / 3.778 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/9.322, allocations: 3.938 kB / 3.778 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001458/9.323, allocations: 0.4908 MB / 3.778 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008419/9.324, allocations: 2.011 MB / 3.78 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/9.324, allocations: 3.969 kB / 3.78 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/9.324, allocations: 53.92 kB / 3.78 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/9.324, allocations: 101.3 kB / 3.78 GB, free: 29.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009041/9.325, allocations: 0.6588 MB / 3.781 GB, free: 28.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/9.326, allocations: 82.2 kB / 3.781 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/9.326, allocations: 20.69 kB / 3.781 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/9.326, allocations: 5.094 kB / 3.781 GB, free: 28.64 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009396/9.327, allocations: 354.6 kB / 3.781 GB, free: 28.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/9.327, allocations: 6.281 kB / 3.781 GB, free: 28.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/9.327, allocations: 7.656 kB / 3.781 GB, free: 28.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/9.327, allocations: 123.1 kB / 3.781 GB, free: 28.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/9.327, allocations: 9.469 kB / 3.781 GB, free: 28.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/9.328, allocations: 54.53 kB / 3.781 GB, free: 28.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/9.328, allocations: 30.58 kB / 3.781 GB, free: 28.61 MB / 0.5573 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.0001651/9.328, allocations: 118 kB / 3.782 GB, free: 28.5 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001143/9.329, allocations: 342.6 kB / 3.782 GB, free: 28.44 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/9.329, allocations: 33 kB / 3.782 GB, free: 28.43 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/9.331, allocations: 1.478 MB / 3.783 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/9.331, allocations: 24.89 kB / 3.783 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/9.331, allocations: 3.938 kB / 3.783 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/9.331, allocations: 0 / 3.783 GB, free: 28.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/9.333, allocations: 2.054 MB / 3.785 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/9.333, allocations: 0 / 3.785 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/9.334, allocations: 52.72 kB / 3.785 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005999/9.334, allocations: 0.5859 MB / 3.786 GB, free: 27.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/9.334, allocations: 7.75 kB / 3.786 GB, free: 27.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009961/9.335, allocations: 1.096 MB / 3.787 GB, free: 27.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/9.335, allocations: 10.23 kB / 3.787 GB, free: 27.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/9.337, allocations: 1.179 MB / 3.788 GB, free: 26.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/9.337, allocations: 177.9 kB / 3.788 GB, free: 26.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/9.337, allocations: 3.5 kB / 3.788 GB, free: 26.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/9.338, allocations: 39.11 kB / 3.788 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/9.338, allocations: 23.06 kB / 3.788 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/9.338, allocations: 8.312 kB / 3.788 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002513/9.338, allocations: 218.2 kB / 3.789 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/9.338, allocations: 0 / 3.789 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005708/9.344, allocations: 1.188 MB / 3.79 GB, free: 26.55 MB / 0.5573 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.0108/9.354, allocations: 3.325 MB / 3.793 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001325/9.356, allocations: 0.6118 MB / 3.794 GB, free: 25.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/9.356, allocations: 0 / 3.794 GB, free: 25.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004692/9.356, allocations: 381.8 kB / 3.794 GB, free: 25.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/9.357, allocations: 158.4 kB / 3.794 GB, free: 25.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/9.364, allocations: 1.401 MB / 3.796 GB, free: 24.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/9.365, allocations: 0.9359 MB / 3.796 GB, free: 23.36 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009441/9.366, allocations: 0.5263 MB / 3.797 GB, free: 23.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/9.366, allocations: 214.5 kB / 3.797 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/9.366, allocations: 0 / 3.797 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4072/9.773, allocations: 37.57 MB / 3.834 GB, free: 99.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/9.774, allocations: 179.8 kB / 3.834 GB, free: 99.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.399/13.17, allocations: 1.5 kB / 3.834 GB, free: 99.1 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat