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.446/2.446, allocations: 390.5 MB / 398 MB, free: 10.93 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.001067/0.001066, allocations: 184.8 kB / 491.2 MB, free: 1.559 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.584/1.584, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009736/0.0009738, allocations: 91.94 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.113e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4179, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.846/7.264, allocations: 2.155 GB / 3.367 GB, free: 120.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/7.264, allocations: 84.14 kB / 3.367 GB, free: 120.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.264/10.53, allocations: 0.6516 GB / 4.019 GB, free: 262.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.294e-06/10.53, allocations: 3.75 kB / 4.019 GB, free: 262.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001712/10.53, allocations: 36.88 kB / 4.019 GB, free: 262.4 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.00555/10.53, allocations: 1.48 MB / 4.02 GB, free: 261.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/10.53, allocations: 12.97 kB / 4.02 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/10.54, allocations: 0.528 MB / 4.021 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0294/10.57, allocations: 13.11 MB / 4.034 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/10.57, allocations: 290 kB / 4.034 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000431/10.57, allocations: 40.72 kB / 4.034 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/10.57, allocations: 0.7217 MB / 4.035 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/10.57, allocations: 0.8921 MB / 4.036 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/10.57, allocations: 3.953 kB / 4.036 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/10.57, allocations: 2.188 kB / 4.036 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-05/10.57, allocations: 40.25 kB / 4.036 GB, free: 260.8 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.00862/10.58, allocations: 3.114 MB / 4.039 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/10.58, allocations: 0.5564 MB / 4.039 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/10.58, allocations: 354 kB / 4.04 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/10.58, allocations: 1.034 MB / 4.041 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008342/10.59, allocations: 465.7 kB / 4.041 GB, free: 258.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 5.079e-06/10.59, allocations: 0 / 4.041 GB, free: 258.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.002489/10.59, allocations: 0.787 MB / 4.042 GB, free: 258.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/10.59, allocations: 140 kB / 4.042 GB, free: 258.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/10.59, allocations: 0.6464 MB / 4.043 GB, free: 258.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/10.59, allocations: 25.7 kB / 4.043 GB, free: 258.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/10.59, allocations: 461.4 kB / 4.043 GB, free: 258.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/10.59, allocations: 181.7 kB / 4.043 GB, free: 258 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/10.59, allocations: 0 / 4.043 GB, free: 258 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001495/10.59, allocations: 334.4 kB / 4.044 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/10.59, allocations: 306.2 kB / 4.044 GB, free: 257.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/10.59, allocations: 0.4926 MB / 4.044 GB, free: 257.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/10.59, allocations: 403.5 kB / 4.045 GB, free: 257.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/10.59, allocations: 0 / 4.045 GB, free: 257.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002061/10.6, allocations: 0.9156 MB / 4.046 GB, free: 257.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/10.6, allocations: 39.31 kB / 4.046 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/10.6, allocations: 3.906 kB / 4.046 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/10.6, allocations: 3.906 kB / 4.046 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/10.6, allocations: 222.5 kB / 4.046 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/10.6, allocations: 16.33 kB / 4.046 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/10.6, allocations: 264.8 kB / 4.046 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/10.6, allocations: 43.05 kB / 4.046 GB, free: 257.4 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.0002566/10.6, allocations: 161 kB / 4.046 GB, free: 257.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001545/10.6, allocations: 0.7603 MB / 4.047 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/10.6, allocations: 92.59 kB / 4.047 GB, free: 257.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/10.6, allocations: 0.8509 MB / 4.048 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/10.6, allocations: 7.25 kB / 4.048 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/10.6, allocations: 0 / 4.048 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/10.6, allocations: 7.75 kB / 4.048 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004828/10.61, allocations: 2.946 MB / 4.051 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/10.61, allocations: 11.28 kB / 4.051 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/10.61, allocations: 131.3 kB / 4.051 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/10.61, allocations: 11.69 kB / 4.051 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/10.61, allocations: 20.91 kB / 4.051 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/10.61, allocations: 14.12 kB / 4.051 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/10.61, allocations: 11.25 kB / 4.051 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/10.61, allocations: 1.569 MB / 4.053 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/10.61, allocations: 301.3 kB / 4.053 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/10.61, allocations: 19.33 kB / 4.053 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/10.61, allocations: 122.9 kB / 4.053 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/10.61, allocations: 66.14 kB / 4.053 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/10.61, allocations: 45.45 kB / 4.053 GB, free: 255.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007879/10.61, allocations: 0.4984 MB / 4.054 GB, free: 255.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/10.61, allocations: 0 / 4.054 GB, free: 255.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002231/10.62, allocations: 405.5 kB / 4.054 GB, free: 255.1 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.005686/10.62, allocations: 5.852 MB / 4.06 GB, free: 251.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001419/10.62, allocations: 0.792 MB / 4.061 GB, free: 251 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/10.62, allocations: 3.656 kB / 4.061 GB, free: 251 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006064/10.62, allocations: 461 kB / 4.061 GB, free: 251 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/10.63, allocations: 351.4 kB / 4.061 GB, free: 251 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/10.63, allocations: 1.719 MB / 4.063 GB, free: 250.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/10.63, allocations: 1.093 MB / 4.064 GB, free: 249.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001299/10.63, allocations: 243.7 kB / 4.064 GB, free: 249.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/10.63, allocations: 349.8 kB / 4.065 GB, free: 249.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.884e-06/10.63, allocations: 0 / 4.065 GB, free: 249.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07253/10.71, allocations: 33.8 MB / 4.098 GB, free: 247.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/10.71, allocations: 201.7 kB / 4.098 GB, free: 247.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/13.95, allocations: 0 / 4.098 GB, free: 247.5 MB / 1.151 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