Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation",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.508/2.508, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001099/0.001099, allocations: 176.8 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.434/1.434, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.001169/0.001169, allocations: 91.34 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.131e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2742, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.408, allocations: 401.9 MB / 1.611 GB, free: 296 kB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/1.408, allocations: 86.77 kB / 1.611 GB, free: 252 kB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.249/2.657, allocations: 259.3 MB / 1.865 GB, free: 297.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.084e-06/2.657, allocations: 4 kB / 1.865 GB, free: 297.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.111e-05/2.657, allocations: 23.92 kB / 1.865 GB, free: 297.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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001894/2.659, allocations: 0.9189 MB / 1.866 GB, free: 296.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/2.659, allocations: 12.03 kB / 1.866 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/2.659, allocations: 82.47 kB / 1.866 GB, free: 296.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009151/2.66, allocations: 179 kB / 1.866 GB, free: 296.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02217/2.682, allocations: 12.01 MB / 1.878 GB, free: 284 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/2.683, allocations: 100.7 kB / 1.878 GB, free: 283.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/2.683, allocations: 43.91 kB / 1.878 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007742/2.684, allocations: 462.3 kB / 1.878 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/2.684, allocations: 0 / 1.878 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/2.684, allocations: 19.95 kB / 1.878 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/2.684, allocations: 16.72 kB / 1.878 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/2.684, allocations: 322.9 kB / 1.879 GB, free: 283 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.002669/2.687, allocations: 2.268 MB / 1.881 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/2.687, allocations: 263.1 kB / 1.881 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/2.688, allocations: 193 kB / 1.881 GB, free: 280.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/2.688, allocations: 340.6 kB / 1.881 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/2.688, allocations: 256 kB / 1.882 GB, free: 279.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/2.688, allocations: 0 / 1.882 GB, free: 279.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0008416/2.689, allocations: 498.3 kB / 1.882 GB, free: 278.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/2.689, allocations: 81.11 kB / 1.882 GB, free: 278.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/2.69, allocations: 436.8 kB / 1.883 GB, free: 278.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/2.69, allocations: 33.7 kB / 1.883 GB, free: 278.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/2.69, allocations: 276.4 kB / 1.883 GB, free: 278.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/2.69, allocations: 110.5 kB / 1.883 GB, free: 277.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/2.69, allocations: 8 kB / 1.883 GB, free: 277.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/2.69, allocations: 366.7 kB / 1.883 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/2.69, allocations: 125.2 kB / 1.884 GB, free: 277.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/2.69, allocations: 234.9 kB / 1.884 GB, free: 277.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/2.691, allocations: 177.9 kB / 1.884 GB, free: 277 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/2.691, allocations: 0 / 1.884 GB, free: 277 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007521/2.691, allocations: 0.5225 MB / 1.884 GB, free: 276.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.692, allocations: 0.6546 MB / 1.885 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/2.692, allocations: 0 / 1.885 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/2.692, allocations: 52.78 kB / 1.885 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/2.692, allocations: 87.88 kB / 1.885 GB, free: 275.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003342/2.693, allocations: 0.5875 MB / 1.886 GB, free: 275 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/2.693, allocations: 87.69 kB / 1.886 GB, free: 274.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/2.693, allocations: 23.98 kB / 1.886 GB, free: 274.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/2.693, allocations: 4 kB / 1.886 GB, free: 274.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006828/2.694, allocations: 482.1 kB / 1.886 GB, free: 274.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/2.694, allocations: 0 / 1.886 GB, free: 274.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/2.694, allocations: 53.02 kB / 1.886 GB, free: 274.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/2.694, allocations: 83.88 kB / 1.887 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/2.695, allocations: 1.631 MB / 1.888 GB, free: 272.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000511/2.696, allocations: 79.73 kB / 1.888 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/2.696, allocations: 23.98 kB / 1.888 GB, free: 272.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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: 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001339/2.696, allocations: 158.6 kB / 1.888 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/2.696, allocations: 55.34 kB / 1.888 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/2.697, allocations: 0.5752 MB / 1.889 GB, free: 271.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/2.697, allocations: 4 kB / 1.889 GB, free: 271.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/2.697, allocations: 0 / 1.889 GB, free: 271.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000671/2.698, allocations: 0.7365 MB / 1.89 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/2.699, allocations: 1.221 MB / 1.891 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/2.699, allocations: 0 / 1.891 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/2.7, allocations: 75.97 kB / 1.891 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/2.7, allocations: 44.83 kB / 1.891 GB, free: 269.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/2.7, allocations: 11.98 kB / 1.891 GB, free: 269.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002401/2.7, allocations: 0.5874 MB / 1.892 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/2.7, allocations: 0 / 1.892 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/2.701, allocations: 0.8796 MB / 1.892 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/2.701, allocations: 192.3 kB / 1.893 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.506e-05/2.702, allocations: 11.95 kB / 1.893 GB, free: 267.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/2.702, allocations: 67.91 kB / 1.893 GB, free: 267.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/2.702, allocations: 27.97 kB / 1.893 GB, free: 267.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/2.702, allocations: 19.98 kB / 1.893 GB, free: 267.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003321/2.703, allocations: 337.6 kB / 1.893 GB, free: 267.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.91e-07/2.703, allocations: 0 / 1.893 GB, free: 267.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001338/2.704, allocations: 383.4 kB / 1.893 GB, free: 266.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002101/2.706, allocations: 1.9 MB / 1.895 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001312/2.707, allocations: 0.8438 MB / 1.896 GB, free: 263.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/2.707, allocations: 0.75 kB / 1.896 GB, free: 263.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/2.708, allocations: 279.2 kB / 1.896 GB, free: 263.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/2.709, allocations: 245.4 kB / 1.897 GB, free: 263.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/2.711, allocations: 0.9601 MB / 1.898 GB, free: 262.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/2.711, allocations: 0.8911 MB / 1.898 GB, free: 261.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006968/2.712, allocations: 156.4 kB / 1.899 GB, free: 261.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/2.712, allocations: 191.4 kB / 1.899 GB, free: 261.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/2.712, allocations: 0 / 1.899 GB, free: 261.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/2.748, allocations: 18.87 MB / 1.917 GB, free: 242.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/2.749, allocations: 233.7 kB / 1.917 GB, free: 242.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/5.475, allocations: 0 / 1.917 GB, free: 242.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat does not exist to compare? outputFormat=mat