Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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) 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) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.227/2.227, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 191.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 221.3 MB / 0.7915 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.0009531, allocations: 95.94 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.549e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2997, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.12/6.42, allocations: 2.156 GB / 3.374 GB, free: 110.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/6.42, allocations: 80.52 kB / 3.375 GB, free: 110.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.077/9.497, allocations: 0.6581 GB / 4.033 GB, free: 271.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.623e-06/9.497, allocations: 0 / 4.033 GB, free: 271.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002168/9.497, allocations: 42.2 kB / 4.033 GB, free: 271.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005474/9.503, allocations: 1.491 MB / 4.034 GB, free: 270.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/9.503, allocations: 14.38 kB / 4.034 GB, free: 270.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003628/9.503, allocations: 109 kB / 4.034 GB, free: 270.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/9.506, allocations: 0.5361 MB / 4.035 GB, free: 270.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02617/9.532, allocations: 13.16 MB / 4.048 GB, free: 269.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001216/9.533, allocations: 320.1 kB / 4.048 GB, free: 269.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003684/9.534, allocations: 70.22 kB / 4.048 GB, free: 269.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/9.536, allocations: 0.9793 MB / 4.049 GB, free: 269.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/9.536, allocations: 0 / 4.049 GB, free: 269.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/9.536, allocations: 28.48 kB / 4.049 GB, free: 269.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/9.536, allocations: 34.62 kB / 4.049 GB, free: 269.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/9.537, allocations: 0.7968 MB / 4.05 GB, free: 269.7 MB / 1.167 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.007025/9.544, allocations: 3.319 MB / 4.053 GB, free: 268.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/9.546, allocations: 0.5825 MB / 4.054 GB, free: 268.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/9.546, allocations: 372.1 kB / 4.054 GB, free: 268.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009062/9.547, allocations: 1.025 MB / 4.055 GB, free: 267.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007432/9.548, allocations: 490.6 kB / 4.055 GB, free: 267.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 4.058e-06/9.548, allocations: 0 / 4.055 GB, free: 267.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.002046/9.55, allocations: 0.8419 MB / 4.056 GB, free: 267.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/9.55, allocations: 142.6 kB / 4.056 GB, free: 267.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/9.551, allocations: 0.9476 MB / 4.057 GB, free: 267.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/9.551, allocations: 41.36 kB / 4.057 GB, free: 267.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/9.552, allocations: 446.1 kB / 4.058 GB, free: 266.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/9.552, allocations: 192.1 kB / 4.058 GB, free: 266.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/9.552, allocations: 10.56 kB / 4.058 GB, free: 266.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/9.552, allocations: 332.1 kB / 4.058 GB, free: 266.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/9.553, allocations: 315.6 kB / 4.059 GB, free: 266.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/9.553, allocations: 0.5133 MB / 4.059 GB, free: 266.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/9.554, allocations: 373.5 kB / 4.059 GB, free: 266.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/9.554, allocations: 3.219 kB / 4.059 GB, free: 266.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001513/9.555, allocations: 0.9633 MB / 4.06 GB, free: 266.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/9.555, allocations: 33.08 kB / 4.06 GB, free: 266.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/9.555, allocations: 7.188 kB / 4.06 GB, free: 266.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/9.555, allocations: 10.56 kB / 4.06 GB, free: 266.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/9.556, allocations: 212.2 kB / 4.061 GB, free: 266.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/9.556, allocations: 14.7 kB / 4.061 GB, free: 266.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/9.558, allocations: 310.6 kB / 4.061 GB, free: 266.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/9.558, allocations: 53.75 kB / 4.061 GB, free: 266.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002095/9.558, allocations: 171.9 kB / 4.061 GB, free: 266 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/9.559, allocations: 121.1 kB / 4.061 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/9.56, allocations: 0.9366 MB / 4.062 GB, free: 265.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/9.56, allocations: 11.34 kB / 4.062 GB, free: 265.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/9.56, allocations: 3.844 kB / 4.062 GB, free: 265.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/9.56, allocations: 7.141 kB / 4.062 GB, free: 265.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/9.564, allocations: 3.141 MB / 4.065 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/9.564, allocations: 7.906 kB / 4.065 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/9.565, allocations: 124.5 kB / 4.065 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/9.565, allocations: 11.22 kB / 4.065 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/9.565, allocations: 26 kB / 4.065 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/9.565, allocations: 22.31 kB / 4.065 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/9.565, allocations: 10.25 kB / 4.065 GB, free: 265.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/9.567, allocations: 1.69 MB / 4.067 GB, free: 264 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/9.567, allocations: 334.6 kB / 4.067 GB, free: 263.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/9.568, allocations: 24.75 kB / 4.067 GB, free: 263.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/9.569, allocations: 129 kB / 4.068 GB, free: 263.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/9.569, allocations: 69.86 kB / 4.068 GB, free: 263.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/9.569, allocations: 44.47 kB / 4.068 GB, free: 263.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001008/9.57, allocations: 0.7413 MB / 4.068 GB, free: 263.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/9.57, allocations: 3.156 kB / 4.068 GB, free: 263.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001784/9.572, allocations: 439 kB / 4.069 GB, free: 263.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004846/9.577, allocations: 5.773 MB / 4.074 GB, free: 259.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001362/9.578, allocations: 0.838 MB / 4.075 GB, free: 259.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/9.578, allocations: 0 / 4.075 GB, free: 259.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000606/9.579, allocations: 480.9 kB / 4.076 GB, free: 259.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/9.581, allocations: 0.5249 MB / 4.076 GB, free: 259.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/9.586, allocations: 1.823 MB / 4.078 GB, free: 258.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/9.586, allocations: 1.086 MB / 4.079 GB, free: 258.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001314/9.588, allocations: 291.3 kB / 4.079 GB, free: 258.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/9.588, allocations: 363.6 kB / 4.08 GB, free: 258.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.134e-06/9.588, allocations: 0 / 4.08 GB, free: 258.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/9.675, allocations: 55.25 MB / 4.134 GB, free: 246.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/9.675, allocations: 215 kB / 4.134 GB, free: 246.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.963/13.64, allocations: 0 / 4.134 GB, free: 246.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat does not exist to compare? outputFormat=mat