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.00145/0.001451, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.766/1.766, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008554/0.0008555, allocations: 96.8 kB / 267.1 MB, free: 9.27 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.4438/0.4438, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.931e-05, allocations: 7.984 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.559/7.708, allocations: 2.76 GB / 3.233 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/7.708, allocations: 81.92 kB / 3.233 GB, free: 61.88 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.377/9.085, allocations: 412 MB / 3.635 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/9.086, allocations: 0 / 3.635 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.96e-05/9.086, allocations: 11.03 kB / 3.635 GB, free: 51.48 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.004826/9.09, allocations: 1.525 MB / 3.637 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/9.09, allocations: 7.812 kB / 3.637 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.772e-05/9.091, allocations: 76.66 kB / 3.637 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/9.092, allocations: 250 kB / 3.637 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/9.093, allocations: 422.3 kB / 3.638 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/9.093, allocations: 30.12 kB / 3.638 GB, free: 50.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/9.093, allocations: 40.27 kB / 3.638 GB, free: 50.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/9.094, allocations: 0.6896 MB / 3.638 GB, free: 49.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/9.094, allocations: 3.906 kB / 3.638 GB, free: 49.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/9.094, allocations: 15.84 kB / 3.638 GB, free: 49.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/9.094, allocations: 10.19 kB / 3.638 GB, free: 49.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/9.095, allocations: 0.5412 MB / 3.639 GB, free: 49.58 MB / 0.5105 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.002841/9.098, allocations: 3.252 MB / 3.642 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009718/9.099, allocations: 402.1 kB / 3.643 GB, free: 46.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/9.099, allocations: 131.6 kB / 3.643 GB, free: 46.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08879/9.188, allocations: 55.74 MB / 3.697 GB, free: 17.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/9.188, allocations: 45.83 kB / 3.697 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 1.893e-06/9.188, allocations: 0 / 3.697 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002002/9.19, allocations: 0.6421 MB / 3.698 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/9.19, allocations: 106.8 kB / 3.698 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/9.191, allocations: 351 kB / 3.698 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/9.191, allocations: 29.7 kB / 3.698 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/9.191, allocations: 251 kB / 3.698 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/9.191, allocations: 94.66 kB / 3.699 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/9.191, allocations: 8 kB / 3.699 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001284/9.191, allocations: 354.8 kB / 3.699 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/9.191, allocations: 92.86 kB / 3.699 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/9.192, allocations: 265.8 kB / 3.699 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/9.192, allocations: 133.2 kB / 3.699 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/9.192, allocations: 7.938 kB / 3.699 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006127/9.192, allocations: 436.5 kB / 3.7 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008746/9.193, allocations: 2.012 MB / 3.702 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/9.193, allocations: 8 kB / 3.702 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/9.196, allocations: 328.5 kB / 3.702 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/9.196, allocations: 99.88 kB / 3.702 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005177/9.197, allocations: 0.5953 MB / 3.703 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/9.197, allocations: 83.47 kB / 3.703 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/9.197, allocations: 20 kB / 3.703 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/9.197, allocations: 4 kB / 3.703 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005709/9.198, allocations: 343.9 kB / 3.703 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/9.198, allocations: 4 kB / 3.703 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/9.198, allocations: 11.98 kB / 3.703 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/9.198, allocations: 111.9 kB / 3.703 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/9.198, allocations: 12.12 kB / 3.703 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/9.199, allocations: 71.75 kB / 3.703 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/9.199, allocations: 27.94 kB / 3.703 GB, free: 10.76 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.0001406/9.199, allocations: 144.1 kB / 3.704 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/9.199, allocations: 39.53 kB / 3.704 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/9.201, allocations: 1.862 MB / 3.705 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/9.201, allocations: 23.95 kB / 3.705 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/9.201, allocations: 0 / 3.705 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/9.201, allocations: 3.953 kB / 3.705 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/9.202, allocations: 0.9575 MB / 3.706 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/9.203, allocations: 7.828 kB / 3.706 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/9.203, allocations: 75.94 kB / 3.706 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/9.204, allocations: 0.7623 MB / 3.707 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/9.204, allocations: 11.98 kB / 3.707 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008258/9.205, allocations: 0.9974 MB / 3.708 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/9.205, allocations: 0 / 3.708 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/9.207, allocations: 1.219 MB / 3.709 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/9.207, allocations: 255.4 kB / 3.71 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/9.207, allocations: 8 kB / 3.71 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/9.207, allocations: 35.97 kB / 3.71 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/9.207, allocations: 27.95 kB / 3.71 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/9.207, allocations: 16 kB / 3.71 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004215/9.208, allocations: 377.5 kB / 3.71 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/9.208, allocations: 0 / 3.71 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004994/9.213, allocations: 1.202 MB / 3.711 GB, free: 2.629 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.2705/9.483, allocations: 3.097 MB / 3.714 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001502/9.485, allocations: 0.6915 MB / 3.715 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/9.485, allocations: 0.5625 kB / 3.715 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/9.485, allocations: 443.4 kB / 3.715 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/9.487, allocations: 227 kB / 3.716 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/9.491, allocations: 1.599 MB / 3.717 GB, free: 74.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/9.492, allocations: 0.9868 MB / 3.718 GB, free: 74.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009666/9.493, allocations: 482.5 kB / 3.719 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/9.493, allocations: 255.2 kB / 3.719 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/9.493, allocations: 1.062 kB / 3.719 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07252/9.566, allocations: 48.75 MB / 3.766 GB, free: 73.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/9.566, allocations: 226.9 kB / 3.767 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.501/13.07, allocations: 0 / 3.767 GB, free: 72.8 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