Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008795/0.008795, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12 kB / 0.8729 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7414/0.7418, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02001/0.7618, allocations: 20.16 MB / 1.043 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007951/0.7698, allocations: 5.378 MB / 1.048 GB, free: 6.156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007298/0.7706, allocations: 23.81 kB / 1.048 GB, free: 6.133 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.7714, allocations: 286.5 kB / 1.048 GB, free: 5.852 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.7737, allocations: 0.8594 MB / 1.049 GB, free: 4.988 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.7758, allocations: 0.8121 MB / 1.05 GB, free: 4.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003072/0.7789, allocations: 2.304 MB / 1.052 GB, free: 1.871 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/0.7798, allocations: 430.8 kB / 1.053 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.7811, allocations: 0.6068 MB / 1.053 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007331/0.7819, allocations: 497.8 kB / 1.054 GB, free: 348 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.782, allocations: 27.94 kB / 1.054 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.7844, allocations: 1.088 MB / 1.055 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.7846, allocations: 127.4 kB / 1.055 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.785, allocations: 332 kB / 1.055 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.7868, allocations: 1.176 MB / 1.056 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7868, allocations: 3.938 kB / 1.056 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7868, allocations: 0 / 1.056 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7869, allocations: 0 / 1.056 GB, free: 13.58 MB / 0.8106 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.001593/0.7885, allocations: 0.9288 MB / 1.057 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7885, allocations: 8.031 kB / 1.057 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.986e-05/0.7886, allocations: 74.72 kB / 1.057 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008956/0.7895, allocations: 196 kB / 1.058 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.7905, allocations: 0.5571 MB / 1.058 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.7909, allocations: 100.9 kB / 1.058 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.791, allocations: 39.94 kB / 1.058 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/0.7919, allocations: 0.4999 MB / 1.059 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.792, allocations: 0 / 1.059 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.792, allocations: 16 kB / 1.059 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.7921, allocations: 15.98 kB / 1.059 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.7931, allocations: 426.6 kB / 1.059 GB, free: 10.61 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002963/0.7961, allocations: 2.305 MB / 1.061 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.7972, allocations: 395 kB / 1.062 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.7977, allocations: 236.9 kB / 1.062 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.798, allocations: 340.6 kB / 1.062 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006374/0.7987, allocations: 319.4 kB / 1.063 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.7987, allocations: 0 / 1.063 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002273/0.801, allocations: 0.8889 MB / 1.064 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.801, allocations: 89.11 kB / 1.064 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.8016, allocations: 0.491 MB / 1.064 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.8016, allocations: 33.7 kB / 1.064 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.8018, allocations: 276.4 kB / 1.064 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.8019, allocations: 106.5 kB / 1.064 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.802, allocations: 37.7 kB / 1.065 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8021, allocations: 362.8 kB / 1.065 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.8026, allocations: 187.8 kB / 1.065 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.8031, allocations: 265.3 kB / 1.065 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009658/0.8041, allocations: 493.8 kB / 1.066 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.8041, allocations: 4 kB / 1.066 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00146/0.8056, allocations: 0.6356 MB / 1.066 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.993e-05/0.8057, allocations: 171.9 kB / 1.067 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.8057, allocations: 4 kB / 1.067 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.8061, allocations: 68.88 kB / 1.067 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.8064, allocations: 87.88 kB / 1.067 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004507/0.8069, allocations: 0.5875 MB / 1.067 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/0.8075, allocations: 83.64 kB / 1.067 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.8075, allocations: 19.98 kB / 1.067 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.8075, allocations: 7.938 kB / 1.067 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001263/0.8088, allocations: 0.5604 MB / 1.068 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8088, allocations: 7.984 kB / 1.068 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.809, allocations: 40.84 kB / 1.068 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.8093, allocations: 87.94 kB / 1.068 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.8108, allocations: 1.642 MB / 1.07 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.8114, allocations: 79.72 kB / 1.07 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.8115, allocations: 16 kB / 1.07 GB, free: 15.06 MB / 0.8262 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 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.8118, allocations: 300 kB / 1.07 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/0.8119, allocations: 59.34 kB / 1.07 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.8134, allocations: 0.6647 MB / 1.071 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.8134, allocations: 4 kB / 1.071 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8134, allocations: 0 / 1.071 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/0.8148, allocations: 0.821 MB / 1.072 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.8171, allocations: 1.326 MB / 1.073 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8171, allocations: 4.094 kB / 1.073 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.8174, allocations: 71.94 kB / 1.073 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.8176, allocations: 48.7 kB / 1.073 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.8177, allocations: 19.98 kB / 1.073 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004402/0.8181, allocations: 0.5757 MB / 1.074 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8181, allocations: 8.094 kB / 1.074 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.8201, allocations: 0.9843 MB / 1.075 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.8204, allocations: 188.2 kB / 1.075 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.8205, allocations: 16.06 kB / 1.075 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.8211, allocations: 59.94 kB / 1.075 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.8212, allocations: 23.91 kB / 1.075 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.8213, allocations: 19.98 kB / 1.075 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004446/0.8217, allocations: 346.8 kB / 1.075 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8217, allocations: 0 / 1.075 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001337/0.8231, allocations: 343.5 kB / 1.075 GB, free: 8.938 MB / 0.8262 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003742/0.8268, allocations: 1.72 MB / 1.077 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002457/0.8293, allocations: 0.9937 MB / 1.078 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.8293, allocations: 0 / 1.078 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.83, allocations: 336.3 kB / 1.078 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.8316, allocations: 240.3 kB / 1.079 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0092/0.8408, allocations: 5.251 MB / 1.084 GB, free: 180 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.8414, allocations: 0.8823 MB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006332/0.842, allocations: 136.3 kB / 1.085 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.8423, allocations: 191.4 kB / 1.085 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of SimCode: time 1.122e-06/0.8423, allocations: 0 / 1.085 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.8807, allocations: 15.97 MB / 1.101 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/0.881, allocations: 279.4 kB / 1.101 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.194, allocations: 0 / 1.101 GB, free: 14.92 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)