Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_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.001174/0.001175, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001334/0.001334, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.932/1.932, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.897/1.897, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007602/0.0007604, allocations: 18.53 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2646, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01656/0.2812, allocations: 17.5 MB / 0.8043 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006808/0.288, allocations: 4.622 MB / 0.8088 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008158/0.2889, allocations: 19.81 kB / 0.8088 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.29, allocations: 302.6 kB / 0.8091 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.2927, allocations: 0.7868 MB / 0.8099 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.2953, allocations: 0.9048 MB / 0.8108 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.2972, allocations: 1.028 MB / 0.8118 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006011/0.2978, allocations: 403 kB / 0.8122 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.2988, allocations: 0.5373 MB / 0.8127 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.2993, allocations: 330.6 kB / 0.813 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.2994, allocations: 24 kB / 0.813 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.3012, allocations: 0.8307 MB / 0.8138 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.3013, allocations: 111.6 kB / 0.8139 GB, free: 460 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3015, allocations: 141.4 kB / 0.8141 GB, free: 312 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3027, allocations: 0.7873 MB / 0.8149 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3027, allocations: 0 / 0.8149 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3027, allocations: 0 / 0.8149 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3028, allocations: 0 / 0.8149 GB, free: 15.52 MB / 0.6387 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.001733/0.3045, allocations: 0.9053 MB / 0.8157 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3046, allocations: 12.03 kB / 0.8157 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.3047, allocations: 78.52 kB / 0.8158 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.3056, allocations: 195.1 kB / 0.816 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000949/0.3065, allocations: 0.4987 MB / 0.8165 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.3069, allocations: 100.9 kB / 0.8166 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.307, allocations: 36 kB / 0.8166 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.3079, allocations: 0.496 MB / 0.8171 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3079, allocations: 0 / 0.8171 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.308, allocations: 20 kB / 0.8171 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.308, allocations: 8 kB / 0.8171 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009652/0.309, allocations: 422.6 kB / 0.8175 GB, free: 12.62 MB / 0.6387 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.003017/0.312, allocations: 2.332 MB / 0.8198 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3131, allocations: 395 kB / 0.8202 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/0.3134, allocations: 336.7 kB / 0.8205 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006334/0.3141, allocations: 322.6 kB / 0.8208 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.3141, allocations: 0 / 0.8208 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.002373/0.3165, allocations: 0.9523 MB / 0.8218 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.3166, allocations: 85.11 kB / 0.8218 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.3174, allocations: 0.495 MB / 0.8223 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.3175, allocations: 33.7 kB / 0.8223 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.3179, allocations: 280.4 kB / 0.8226 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.3181, allocations: 102.5 kB / 0.8227 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.3181, allocations: 8 kB / 0.8227 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002667/0.3184, allocations: 362.8 kB / 0.8231 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.3191, allocations: 183.6 kB / 0.8232 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.3199, allocations: 269.9 kB / 0.8235 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.3206, allocations: 226.2 kB / 0.8237 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3206, allocations: 0 / 0.8237 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002154/0.3228, allocations: 0.6331 MB / 0.8243 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000441/0.3232, allocations: 0.6414 MB / 0.825 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.3232, allocations: 4 kB / 0.825 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004607/0.3237, allocations: 68.81 kB / 0.825 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/0.3243, allocations: 87.88 kB / 0.8251 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000658/0.325, allocations: 0.599 MB / 0.8257 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/0.3259, allocations: 91.56 kB / 0.8258 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.3259, allocations: 12.06 kB / 0.8258 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.326, allocations: 8 kB / 0.8258 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001819/0.3278, allocations: 0.5527 MB / 0.8263 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3278, allocations: 8.156 kB / 0.8264 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.3281, allocations: 48.78 kB / 0.8264 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.3286, allocations: 87.88 kB / 0.8265 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.3307, allocations: 1.631 MB / 0.8281 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/0.3314, allocations: 79.69 kB / 0.8282 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3315, allocations: 16 kB / 0.8282 GB, free: 1.035 MB / 0.6387 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 () * 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 (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.000436/0.3319, allocations: 294.7 kB / 0.8284 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.332, allocations: 59.33 kB / 0.8285 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.3335, allocations: 0.6691 MB / 0.8292 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3336, allocations: 7.953 kB / 0.8292 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.3336, allocations: 0 / 0.8292 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/0.3351, allocations: 0.8092 MB / 0.83 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.3387, allocations: 1.324 MB / 0.8312 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3387, allocations: 4 kB / 0.8313 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004314/0.3391, allocations: 67.98 kB / 0.8313 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.3394, allocations: 52.8 kB / 0.8314 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.3394, allocations: 8 kB / 0.8314 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004992/0.3399, allocations: 0.5872 MB / 0.8319 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.34, allocations: 0 / 0.8319 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.3429, allocations: 1.047 MB / 0.833 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.3434, allocations: 184.3 kB / 0.8331 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.3435, allocations: 8 kB / 0.8332 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009235/0.3444, allocations: 64 kB / 0.8332 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.3445, allocations: 19.97 kB / 0.8332 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/0.3446, allocations: 23.98 kB / 0.8333 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006116/0.3452, allocations: 354.8 kB / 0.8336 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.555e-06/0.3452, allocations: 0 / 0.8336 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001657/0.3469, allocations: 351.3 kB / 0.8339 GB, free: 10.84 MB / 0.6544 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 (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.004157/0.3511, allocations: 1.963 MB / 0.8358 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003204/0.3543, allocations: 0.9989 MB / 0.8368 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.3543, allocations: 3.938 kB / 0.8368 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000936/0.3553, allocations: 323.4 kB / 0.8371 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.3569, allocations: 244.4 kB / 0.8374 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008967/0.3659, allocations: 4.388 MB / 0.8417 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.3666, allocations: 0.8939 MB / 0.8425 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009546/0.3676, allocations: 132.3 kB / 0.8427 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.368, allocations: 191.4 kB / 0.8428 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of SimCode: time 1.122e-06/0.368, allocations: 0 / 0.8428 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05078/0.4188, allocations: 16.25 MB / 0.8587 GB, free: 1.582 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/0.4192, allocations: 261 kB / 0.8589 GB, free: 1.242 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.121, allocations: 3.938 kB / 0.859 GB, free: 1.238 MB / 0.67 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: