Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008273/0.0008273, allocations: 89.89 kB / 15.36 MB, free: 0.7344 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.005465/0.005465, allocations: 169.9 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.593/1.593, allocations: 252 MB / 0.5105 GB, free: 4.621 MB / 414.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.0006034/0.0006035, allocations: 12 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5334, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002724/0.5361, allocations: 1.787 MB / 0.7305 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.5396, allocations: 2.02 MB / 0.7324 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.5398, allocations: 7.938 kB / 0.7325 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007383/0.5405, allocations: 257.1 kB / 0.7327 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006831/0.5412, allocations: 255.2 kB / 0.7329 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000961/0.5422, allocations: 419.3 kB / 0.7333 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007417/0.543, allocations: 0.5689 MB / 0.7339 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.5431, allocations: 40.39 kB / 0.7339 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.5433, allocations: 143.4 kB / 0.7341 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.5436, allocations: 175.4 kB / 0.7342 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.5436, allocations: 4 kB / 0.7342 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007007/0.5443, allocations: 443.2 kB / 0.7347 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.5444, allocations: 95.69 kB / 0.7348 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.5445, allocations: 129.1 kB / 0.7349 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006801/0.5452, allocations: 0.5725 MB / 0.7354 GB, free: 4.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5452, allocations: 0 / 0.7354 GB, free: 4.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5453, allocations: 0 / 0.7354 GB, free: 4.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5453, allocations: 0 / 0.7354 GB, free: 4.375 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008409/0.5461, allocations: 0.5567 MB / 0.736 GB, free: 3.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5462, allocations: 8.031 kB / 0.736 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.5465, allocations: 44.62 kB / 0.736 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.5469, allocations: 336.2 kB / 0.7364 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.547, allocations: 12.31 kB / 0.7364 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.547, allocations: 12.38 kB / 0.7364 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.5474, allocations: 157.7 kB / 0.7365 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5474, allocations: 0 / 0.7365 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.5474, allocations: 8 kB / 0.7365 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5474, allocations: 0 / 0.7365 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.5478, allocations: 139.9 kB / 0.7367 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007557/0.5486, allocations: 0.4886 MB / 0.7371 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.5489, allocations: 134.5 kB / 0.7373 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.5491, allocations: 68.83 kB / 0.7373 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.5492, allocations: 7.969 kB / 0.7373 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5492, allocations: 38.69 kB / 0.7374 GB, free: 2.219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.5492, allocations: 0 / 0.7374 GB, free: 2.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0007036/0.5499, allocations: 249.2 kB / 0.7376 GB, free: 1.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.55, allocations: 51.41 kB / 0.7377 GB, free: 1.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.5503, allocations: 348.4 kB / 0.738 GB, free: 1.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.5504, allocations: 29.7 kB / 0.738 GB, free: 1.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5505, allocations: 147.9 kB / 0.7382 GB, free: 1.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.5505, allocations: 31.55 kB / 0.7382 GB, free: 1.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.5506, allocations: 25.72 kB / 0.7382 GB, free: 1.312 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5507, allocations: 342.8 kB / 0.7386 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.551, allocations: 112.3 kB / 0.7387 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.5513, allocations: 166.8 kB / 0.7388 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.5519, allocations: 291.4 kB / 0.7391 GB, free: 372 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5519, allocations: 0 / 0.7391 GB, free: 372 kB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006587/0.5525, allocations: 355.3 kB / 0.7394 GB, free: 12 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.5527, allocations: 135.2 kB / 0.7396 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5527, allocations: 7.938 kB / 0.7396 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5527, allocations: 4 kB / 0.7396 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.553, allocations: 59.89 kB / 0.7396 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.553, allocations: 4 kB / 0.7396 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.5532, allocations: 27.77 kB / 0.7397 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.5532, allocations: 16 kB / 0.7397 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.5532, allocations: 5.875 kB / 0.7397 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005415/0.5538, allocations: 255.6 kB / 0.7399 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5538, allocations: 4 kB / 0.7399 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-06/0.5538, allocations: 0 / 0.7399 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.554, allocations: 56.12 kB / 0.74 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.554, allocations: 4 kB / 0.74 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.5542, allocations: 15.89 kB / 0.74 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.5542, allocations: 16 kB / 0.74 GB, free: 15.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * 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.0001971/0.5544, allocations: 233 kB / 0.7402 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.5544, allocations: 23.62 kB / 0.7403 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.555, allocations: 216.2 kB / 0.7405 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.555, allocations: 0 / 0.7405 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.555, allocations: 4 kB / 0.7405 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.555, allocations: 3.984 kB / 0.7405 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.5554, allocations: 269.5 kB / 0.7407 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5554, allocations: 3.938 kB / 0.7407 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.5555, allocations: 27.98 kB / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5555, allocations: 3.938 kB / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5555, allocations: 3.984 kB / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5556, allocations: 8 kB / 0.7408 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5556, allocations: 0 / 0.7408 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.556, allocations: 295 kB / 0.7411 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.5562, allocations: 116.7 kB / 0.7412 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.5562, allocations: 0 / 0.7412 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.5563, allocations: 15.98 kB / 0.7412 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.5564, allocations: 7.984 kB / 0.7412 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.5564, allocations: 4 kB / 0.7412 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002423/0.5567, allocations: 243 kB / 0.7414 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5567, allocations: 4 kB / 0.7414 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006207/0.5573, allocations: 140 kB / 0.7416 GB, free: 13.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004174/0.5577, allocations: 199.1 kB / 0.7418 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008019/0.5585, allocations: 348 kB / 0.7421 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5586, allocations: 0 / 0.7421 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.5587, allocations: 71.95 kB / 0.7422 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.5593, allocations: 99.42 kB / 0.7423 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/0.5602, allocations: 0.5499 MB / 0.7428 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.5606, allocations: 0.7719 MB / 0.7435 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003029/0.5609, allocations: 74.92 kB / 0.7436 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.561, allocations: 31.44 kB / 0.7436 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.561, allocations: 3.938 kB / 0.7436 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.01151/0.5725, allocations: 6.241 MB / 0.7497 GB, free: 5.336 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) Environment - environmentSimulation: