Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.001966/0.001966, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002912/0.002912, allocations: 192.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.831/2.831, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.731/5.731, allocations: 461.9 MB / 0.7344 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 63.39 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6289/0.6317, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4307/1.063, allocations: 191.5 MB / 1.239 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02113/1.084, allocations: 6.9 MB / 1.246 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/1.087, allocations: 43.69 kB / 1.246 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003634/1.091, allocations: 0.5867 MB / 1.247 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.269/2.36, allocations: 2.201 MB / 1.249 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006012/2.366, allocations: 1.298 MB / 1.25 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008968/2.375, allocations: 3.006 MB / 1.253 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002671/2.377, allocations: 0.913 MB / 1.254 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/2.383, allocations: 1.153 MB / 1.255 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/2.386, allocations: 0.8343 MB / 1.256 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/2.386, allocations: 99.25 kB / 1.256 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007089/2.393, allocations: 2.136 MB / 1.258 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/2.394, allocations: 374.3 kB / 1.258 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/2.396, allocations: 0.5833 MB / 1.259 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008071/2.404, allocations: 2.472 MB / 1.261 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/2.404, allocations: 0.6875 kB / 1.261 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.415e-06/2.404, allocations: 1.094 kB / 1.261 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.015e-05/2.404, allocations: 0.8125 kB / 1.261 GB, free: 3.559 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00739/2.411, allocations: 1.621 MB / 1.263 GB, free: 18.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.488e-05/2.412, allocations: 9.938 kB / 1.263 GB, free: 18.7 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004258/2.412, allocations: 117.6 kB / 1.263 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/2.417, allocations: 0.5373 MB / 1.264 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00492/2.422, allocations: 0.9855 MB / 1.265 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001898/2.424, allocations: 275.1 kB / 1.265 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/2.424, allocations: 74 kB / 1.265 GB, free: 18.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005905/2.43, allocations: 1.123 MB / 1.266 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/2.43, allocations: 0 / 1.266 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/2.431, allocations: 30.58 kB / 1.266 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.83e-05/2.431, allocations: 30.56 kB / 1.266 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00658/2.437, allocations: 1.204 MB / 1.267 GB, free: 18.14 MB / 1.014 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.01406/2.452, allocations: 3.213 MB / 1.27 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/2.455, allocations: 0.6844 MB / 1.271 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/2.457, allocations: 428.4 kB / 1.272 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/2.458, allocations: 1.019 MB / 1.273 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/2.46, allocations: 0.516 MB / 1.273 GB, free: 15.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 4.719e-06/2.46, allocations: 0 / 1.273 GB, free: 15.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.005201/2.465, allocations: 1.22 MB / 1.274 GB, free: 15.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/2.465, allocations: 137.6 kB / 1.274 GB, free: 15.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/2.469, allocations: 1.202 MB / 1.276 GB, free: 15.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/2.469, allocations: 39.52 kB / 1.276 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/2.47, allocations: 438.2 kB / 1.276 GB, free: 15.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/2.47, allocations: 191.2 kB / 1.276 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/2.471, allocations: 149 kB / 1.276 GB, free: 15.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001824/2.471, allocations: 330.4 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/2.473, allocations: 464.2 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/2.475, allocations: 0.6134 MB / 1.278 GB, free: 14.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/2.478, allocations: 0.9467 MB / 1.279 GB, free: 14.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/2.478, allocations: 2.125 kB / 1.279 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00426/2.482, allocations: 1.232 MB / 1.28 GB, free: 14.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.88e-05/2.483, allocations: 42.42 kB / 1.28 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/2.483, allocations: 3.656 kB / 1.28 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/2.483, allocations: 10.3 kB / 1.28 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/2.484, allocations: 198.7 kB / 1.28 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/2.484, allocations: 5.406 kB / 1.28 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/2.486, allocations: 269.3 kB / 1.28 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/2.486, allocations: 37.86 kB / 1.28 GB, free: 14.37 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000749/2.487, allocations: 334.6 kB / 1.281 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/2.487, allocations: 116.6 kB / 1.281 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/2.489, allocations: 0.9974 MB / 1.282 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/2.49, allocations: 7.094 kB / 1.282 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/2.49, allocations: 4.906 kB / 1.282 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/2.49, allocations: 4.641 kB / 1.282 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008796/2.498, allocations: 3.16 MB / 1.285 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/2.498, allocations: 7.625 kB / 1.285 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/2.5, allocations: 129.8 kB / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.103e-05/2.5, allocations: 9.219 kB / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/2.5, allocations: 25.38 kB / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.599e-05/2.5, allocations: 15.73 kB / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.965e-05/2.5, allocations: 13.39 kB / 1.285 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/2.504, allocations: 1.336 MB / 1.286 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/2.506, allocations: 331.3 kB / 1.287 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/2.506, allocations: 21.44 kB / 1.287 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/2.508, allocations: 110.1 kB / 1.287 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/2.508, allocations: 59.52 kB / 1.287 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/2.509, allocations: 40.8 kB / 1.287 GB, free: 12.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003439/2.512, allocations: 0.8759 MB / 1.288 GB, free: 12.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.91e-07/2.512, allocations: 0 / 1.288 GB, free: 12.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002571/2.515, allocations: 296 kB / 1.288 GB, free: 12.37 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00573/2.52, allocations: 2.116 MB / 1.29 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004785/2.525, allocations: 1.058 MB / 1.291 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.412e-05/2.525, allocations: 1.281 kB / 1.291 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/2.527, allocations: 0.5109 MB / 1.292 GB, free: 11.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005541/2.532, allocations: 0.5609 MB / 1.292 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03522/2.568, allocations: 10.26 MB / 1.302 GB, free: 7.137 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/2.569, allocations: 1.067 MB / 1.303 GB, free: 6.414 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002558/2.572, allocations: 279 kB / 1.303 GB, free: 6.352 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009387/2.573, allocations: 363.4 kB / 1.304 GB, free: 6.344 MB / 1.014 GB Notification: Performance of SimCode: time 1.553e-06/2.573, allocations: 1.203 kB / 1.304 GB, free: 6.344 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.319/3.891, allocations: 31.34 MB / 1.334 GB, free: 13.97 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005744/3.892, allocations: 276.4 kB / 1.335 GB, free: 13.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.388/10.28, allocations: 0 / 1.335 GB, free: 13.61 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)