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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008975, allocations: 91.38 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.005807/0.005808, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.00033, allocations: 14 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3408, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02237/0.3632, allocations: 20.17 MB / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00822/0.3715, allocations: 5.396 MB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009727/0.3725, allocations: 23.81 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.3736, allocations: 286.4 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.3763, allocations: 0.8477 MB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.3788, allocations: 0.8168 MB / 1.086 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.3816, allocations: 2.293 MB / 1.088 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000901/0.3825, allocations: 444.7 kB / 1.088 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.3839, allocations: 0.599 MB / 1.089 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000947/0.3849, allocations: 0.4978 MB / 1.089 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.3851, allocations: 20 kB / 1.089 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.3871, allocations: 1.088 MB / 1.09 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.3874, allocations: 131.4 kB / 1.091 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005447/0.3879, allocations: 324 kB / 1.091 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.3902, allocations: 1.18 MB / 1.092 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3902, allocations: 4 kB / 1.092 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3902, allocations: 0 / 1.092 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.814e-05/0.3902, allocations: 0 / 1.092 GB, free: 2.664 MB / 0.8419 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.001931/0.3922, allocations: 0.9183 MB / 1.093 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3922, allocations: 11.97 kB / 1.093 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.3924, allocations: 78.66 kB / 1.093 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009844/0.3934, allocations: 196 kB / 1.093 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.3946, allocations: 0.5725 MB / 1.094 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.395, allocations: 96.94 kB / 1.094 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.3951, allocations: 36 kB / 1.094 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.3961, allocations: 0.5038 MB / 1.094 GB, free: 136 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3962, allocations: 3.984 kB / 1.094 GB, free: 132 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/0.3962, allocations: 16 kB / 1.094 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.3963, allocations: 12 kB / 1.094 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3974, allocations: 430.7 kB / 1.095 GB, free: 15.68 MB / 0.8575 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.003133/0.4005, allocations: 2.281 MB / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.4016, allocations: 398.9 kB / 1.097 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.4021, allocations: 237 kB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.4025, allocations: 344.7 kB / 1.098 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006436/0.4031, allocations: 306.9 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.464e-06/0.4031, allocations: 0 / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002344/0.4055, allocations: 0.8897 MB / 1.099 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.4055, allocations: 85.05 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.4061, allocations: 494.9 kB / 1.1 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-05/0.4062, allocations: 37.7 kB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.4064, allocations: 288.3 kB / 1.1 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4065, allocations: 98.5 kB / 1.1 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.4066, allocations: 41.64 kB / 1.1 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4067, allocations: 358.8 kB / 1.101 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.4072, allocations: 183.9 kB / 1.101 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.4078, allocations: 273.3 kB / 1.101 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4088, allocations: 497.5 kB / 1.101 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4088, allocations: 0 / 1.101 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001509/0.4103, allocations: 0.6323 MB / 1.102 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.4105, allocations: 167.9 kB / 1.102 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4105, allocations: 4 kB / 1.102 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.4109, allocations: 80.84 kB / 1.102 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.4112, allocations: 79.88 kB / 1.102 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005091/0.4117, allocations: 0.6069 MB / 1.103 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.4123, allocations: 71.7 kB / 1.103 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.4124, allocations: 19.98 kB / 1.103 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.4124, allocations: 7.938 kB / 1.103 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/0.4137, allocations: 0.5527 MB / 1.104 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4137, allocations: 4 kB / 1.104 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.4138, allocations: 49.05 kB / 1.104 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.4142, allocations: 83.88 kB / 1.104 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.4157, allocations: 1.631 MB / 1.105 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.4163, allocations: 83.72 kB / 1.105 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.4163, allocations: 16 kB / 1.105 GB, free: 4.16 MB / 0.8575 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.0003114/0.4167, allocations: 296.2 kB / 1.106 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4168, allocations: 63.23 kB / 1.106 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.4183, allocations: 0.6689 MB / 1.106 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4183, allocations: 4 kB / 1.106 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.4183, allocations: 0 / 1.106 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.4196, allocations: 0.8264 MB / 1.107 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.422, allocations: 1.331 MB / 1.109 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.422, allocations: 4 kB / 1.109 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.4223, allocations: 75.97 kB / 1.109 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.4225, allocations: 40.83 kB / 1.109 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.4225, allocations: 15.98 kB / 1.109 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003885/0.4229, allocations: 0.5718 MB / 1.109 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4229, allocations: 8.094 kB / 1.109 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.4249, allocations: 0.9951 MB / 1.11 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/0.4252, allocations: 192.3 kB / 1.11 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.4253, allocations: 8 kB / 1.11 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.4259, allocations: 63.94 kB / 1.11 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.426, allocations: 23.98 kB / 1.11 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.426, allocations: 23.97 kB / 1.11 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003982/0.4264, allocations: 338.9 kB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4264, allocations: 0 / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001152/0.4276, allocations: 343.4 kB / 1.111 GB, free: 14.03 MB / 0.8731 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.002997/0.4306, allocations: 1.732 MB / 1.113 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.4328, allocations: 1.014 MB / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4329, allocations: 0 / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006524/0.4335, allocations: 331.4 kB / 1.114 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.435, allocations: 245.4 kB / 1.114 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008767/0.4438, allocations: 5.226 MB / 1.119 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.4444, allocations: 0.8786 MB / 1.12 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005612/0.4449, allocations: 136.4 kB / 1.12 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.4452, allocations: 199.3 kB / 1.121 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of SimCode: time 2.345e-06/0.4453, allocations: 4 kB / 1.121 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.4822, allocations: 15.96 MB / 1.136 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/0.4825, allocations: 294.7 kB / 1.137 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.757, allocations: 0 / 1.137 GB, free: 3.988 MB / 0.8887 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/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)