Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001555/0.001555, allocations: 179.5 kB / 492.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009265/0.0009264, allocations: 95.92 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.867e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3416, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.063/6.405, allocations: 2.155 GB / 3.367 GB, free: 147.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/6.405, allocations: 83.95 kB / 3.367 GB, free: 147.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.922/9.327, allocations: 0.6581 GB / 4.025 GB, free: 261.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.174e-06/9.327, allocations: 3.75 kB / 4.025 GB, free: 261.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001571/9.327, allocations: 35.19 kB / 4.026 GB, free: 261.9 MB / 1.151 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.005273/9.333, allocations: 1.487 MB / 4.027 GB, free: 261.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/9.333, allocations: 7.344 kB / 4.027 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000357/9.333, allocations: 109.3 kB / 4.027 GB, free: 261.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/9.336, allocations: 0.5392 MB / 4.028 GB, free: 261.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02714/9.363, allocations: 13.16 MB / 4.04 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001216/9.364, allocations: 318 kB / 4.041 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000399/9.365, allocations: 66.88 kB / 4.041 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/9.367, allocations: 0.9779 MB / 4.042 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/9.367, allocations: 3.469 kB / 4.042 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/9.367, allocations: 27.28 kB / 4.042 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/9.367, allocations: 38.23 kB / 4.042 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/9.369, allocations: 0.7921 MB / 4.043 GB, free: 260.2 MB / 1.151 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.007074/9.376, allocations: 3.31 MB / 4.046 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/9.377, allocations: 0.5824 MB / 4.046 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/9.377, allocations: 375 kB / 4.047 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/9.378, allocations: 1.026 MB / 4.048 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00071/9.379, allocations: 487.1 kB / 4.048 GB, free: 258.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 3.918e-06/9.379, allocations: 2.344 kB / 4.048 GB, free: 258.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001857/9.381, allocations: 0.8375 MB / 4.049 GB, free: 257.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/9.381, allocations: 137.6 kB / 4.049 GB, free: 257.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/9.383, allocations: 0.9538 MB / 4.05 GB, free: 257.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/9.383, allocations: 39.98 kB / 4.05 GB, free: 257.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/9.383, allocations: 449.5 kB / 4.051 GB, free: 257.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/9.383, allocations: 194.8 kB / 4.051 GB, free: 257.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/9.384, allocations: 9.906 kB / 4.051 GB, free: 257.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/9.384, allocations: 328.3 kB / 4.051 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/9.384, allocations: 314 kB / 4.051 GB, free: 257.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/9.385, allocations: 0.5174 MB / 4.052 GB, free: 256.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/9.385, allocations: 386.8 kB / 4.052 GB, free: 256.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/9.385, allocations: 0 / 4.052 GB, free: 256.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00167/9.387, allocations: 0.9593 MB / 4.053 GB, free: 256.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/9.387, allocations: 38.2 kB / 4.053 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/9.387, allocations: 3.469 kB / 4.053 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/9.387, allocations: 7.688 kB / 4.053 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/9.388, allocations: 220.1 kB / 4.053 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/9.388, allocations: 6.328 kB / 4.053 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/9.39, allocations: 312.6 kB / 4.054 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/9.39, allocations: 54.73 kB / 4.054 GB, free: 256.7 MB / 1.151 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.0002492/9.39, allocations: 177.7 kB / 4.054 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/9.391, allocations: 120.5 kB / 4.054 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/9.392, allocations: 0.9436 MB / 4.055 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/9.392, allocations: 7.25 kB / 4.055 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/9.392, allocations: 0 / 4.055 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/9.392, allocations: 3.75 kB / 4.055 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/9.397, allocations: 3.137 MB / 4.058 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/9.397, allocations: 7.938 kB / 4.058 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/9.398, allocations: 124.3 kB / 4.058 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.288e-05/9.398, allocations: 17.11 kB / 4.058 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.521e-05/9.398, allocations: 29.62 kB / 4.058 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/9.398, allocations: 14.5 kB / 4.058 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/9.398, allocations: 11.03 kB / 4.058 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/9.4, allocations: 1.684 MB / 4.06 GB, free: 254.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/9.401, allocations: 335.7 kB / 4.06 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/9.402, allocations: 26.98 kB / 4.06 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/9.403, allocations: 126.4 kB / 4.06 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/9.403, allocations: 70.11 kB / 4.06 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/9.404, allocations: 42.12 kB / 4.061 GB, free: 254.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001421/9.405, allocations: 0.7402 MB / 4.061 GB, free: 254.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/9.405, allocations: 3.75 kB / 4.061 GB, free: 254.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002347/9.407, allocations: 435.5 kB / 4.062 GB, free: 254.3 MB / 1.151 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.00536/9.413, allocations: 5.8 MB / 4.067 GB, free: 250.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001435/9.414, allocations: 0.8327 MB / 4.068 GB, free: 250.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/9.414, allocations: 3.531 kB / 4.068 GB, free: 250.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/9.415, allocations: 482.9 kB / 4.069 GB, free: 250.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/9.418, allocations: 0.5167 MB / 4.069 GB, free: 250.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/9.422, allocations: 1.811 MB / 4.071 GB, free: 249.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/9.423, allocations: 1.089 MB / 4.072 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001293/9.424, allocations: 292.2 kB / 4.072 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/9.425, allocations: 362.2 kB / 4.073 GB, free: 248.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/9.425, allocations: 0 / 4.073 GB, free: 248.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0864/9.511, allocations: 55.26 MB / 4.127 GB, free: 244.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/9.511, allocations: 227.3 kB / 4.127 GB, free: 244.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.811/13.32, allocations: 6.344 kB / 4.127 GB, free: 244.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat does not exist to compare? outputFormat=mat