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.507/2.507, allocations: 390.5 MB / 398 MB, free: 11.02 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.001022/0.001022, allocations: 175 kB / 491.2 MB, free: 1.625 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.537/1.537, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001017/0.001017, allocations: 91.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.165e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2651, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/1.612, allocations: 401.2 MB / 1.604 GB, free: 12.82 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.612, allocations: 85.89 kB / 1.604 GB, free: 12.78 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.306/2.918, allocations: 257.7 MB / 1.856 GB, free: 348.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.503e-06/2.918, allocations: 0 / 1.856 GB, free: 348.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.369e-05/2.918, allocations: 18.5 kB / 1.856 GB, free: 348.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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002085/2.92, allocations: 0.9259 MB / 1.857 GB, free: 348.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/2.92, allocations: 11.38 kB / 1.857 GB, free: 348.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/2.921, allocations: 183.5 kB / 1.857 GB, free: 348 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02394/2.945, allocations: 11.97 MB / 1.869 GB, free: 338 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/2.946, allocations: 84.72 kB / 1.869 GB, free: 337.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/2.946, allocations: 27.91 kB / 1.869 GB, free: 337.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006086/2.946, allocations: 297.4 kB / 1.869 GB, free: 337.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/2.947, allocations: 408.8 kB / 1.87 GB, free: 337.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/2.947, allocations: 7.938 kB / 1.87 GB, free: 337.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/2.947, allocations: 3.953 kB / 1.87 GB, free: 337.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/2.947, allocations: 12.78 kB / 1.87 GB, free: 337.1 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.003341/2.951, allocations: 2.178 MB / 1.872 GB, free: 334.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/2.951, allocations: 258.9 kB / 1.872 GB, free: 334.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/2.951, allocations: 176.7 kB / 1.872 GB, free: 334.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/2.952, allocations: 340.6 kB / 1.872 GB, free: 333.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/2.952, allocations: 246.8 kB / 1.873 GB, free: 333.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/2.952, allocations: 3.938 kB / 1.873 GB, free: 333.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001141/2.953, allocations: 470.2 kB / 1.873 GB, free: 333.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/2.953, allocations: 89.05 kB / 1.873 GB, free: 333.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/2.954, allocations: 369.3 kB / 1.874 GB, free: 332.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/2.954, allocations: 25.7 kB / 1.874 GB, free: 332.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/2.954, allocations: 284.2 kB / 1.874 GB, free: 332.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/2.954, allocations: 110.4 kB / 1.874 GB, free: 332.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/2.954, allocations: 0 / 1.874 GB, free: 332.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001109/2.954, allocations: 358.8 kB / 1.874 GB, free: 332 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/2.954, allocations: 125.5 kB / 1.874 GB, free: 331.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/2.955, allocations: 215.1 kB / 1.875 GB, free: 331.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/2.955, allocations: 159.8 kB / 1.875 GB, free: 331.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.955, allocations: 0 / 1.875 GB, free: 331.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009023/2.956, allocations: 0.5017 MB / 1.875 GB, free: 330.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/2.956, allocations: 0.6453 MB / 1.876 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/2.956, allocations: 7.953 kB / 1.876 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/2.956, allocations: 48.84 kB / 1.876 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/2.957, allocations: 83.81 kB / 1.876 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003689/2.957, allocations: 0.5954 MB / 1.877 GB, free: 329.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/2.958, allocations: 79.7 kB / 1.877 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/2.958, allocations: 20.05 kB / 1.877 GB, free: 329.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/2.958, allocations: 4 kB / 1.877 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007783/2.959, allocations: 444.5 kB / 1.877 GB, free: 328.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/2.959, allocations: 0 / 1.877 GB, free: 328.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/2.959, allocations: 44.83 kB / 1.877 GB, free: 328.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/2.959, allocations: 88.06 kB / 1.877 GB, free: 328.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/2.96, allocations: 1.552 MB / 1.879 GB, free: 327.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/2.961, allocations: 75.73 kB / 1.879 GB, free: 327 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/2.961, allocations: 23.98 kB / 1.879 GB, free: 327 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.000227/2.961, allocations: 155.5 kB / 1.879 GB, free: 326.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009415/2.962, allocations: 485.4 kB / 1.88 GB, free: 326.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/2.962, allocations: 55.44 kB / 1.88 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/2.963, allocations: 0.513 MB / 1.88 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/2.964, allocations: 7.953 kB / 1.88 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/2.964, allocations: 0 / 1.88 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007722/2.964, allocations: 0.6845 MB / 1.881 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/2.966, allocations: 1.121 MB / 1.882 GB, free: 323.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/2.966, allocations: 7.953 kB / 1.882 GB, free: 323.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/2.967, allocations: 83.91 kB / 1.882 GB, free: 323.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/2.967, allocations: 28.84 kB / 1.882 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/2.967, allocations: 12 kB / 1.882 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000289/2.967, allocations: 0.5796 MB / 1.883 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/2.967, allocations: 0 / 1.883 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/2.968, allocations: 0.8425 MB / 1.883 GB, free: 322.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/2.968, allocations: 184.3 kB / 1.884 GB, free: 322 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-05/2.969, allocations: 4 kB / 1.884 GB, free: 322 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/2.969, allocations: 63.94 kB / 1.884 GB, free: 322 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/2.969, allocations: 23.97 kB / 1.884 GB, free: 321.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/2.969, allocations: 23.98 kB / 1.884 GB, free: 321.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003304/2.97, allocations: 286.9 kB / 1.884 GB, free: 321.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/2.97, allocations: 0 / 1.884 GB, free: 321.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001525/2.971, allocations: 367.3 kB / 1.884 GB, free: 321.3 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.002008/2.973, allocations: 1.876 MB / 1.886 GB, free: 319.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001138/2.974, allocations: 0.8046 MB / 1.887 GB, free: 318.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.974, allocations: 0 / 1.887 GB, free: 318.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/2.975, allocations: 263.2 kB / 1.887 GB, free: 318.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/2.976, allocations: 211.1 kB / 1.887 GB, free: 318.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/2.978, allocations: 0.9145 MB / 1.888 GB, free: 317.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/2.978, allocations: 0.8987 MB / 1.889 GB, free: 316.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006877/2.979, allocations: 152.1 kB / 1.889 GB, free: 316 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/2.979, allocations: 187.4 kB / 1.889 GB, free: 315.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.11e-07/2.979, allocations: 0 / 1.889 GB, free: 315.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/3.017, allocations: 16 MB / 1.905 GB, free: 300 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/3.017, allocations: 174.8 kB / 1.905 GB, free: 299.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/5.722, allocations: 3.125 kB / 1.905 GB, free: 299.8 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