Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 105.7 kB / 16.4 MB, free: 6.449 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.001317/0.001318, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6783/0.6783, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.86 kB / 0.5577 GB, free: 32.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1299, allocations: 76.18 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4961/0.626, allocations: 194 MB / 0.8215 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009268/0.6353, allocations: 6.941 MB / 0.8283 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.6365, allocations: 46.78 kB / 0.8283 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.6381, allocations: 0.6836 MB / 0.829 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.6432, allocations: 2.342 MB / 0.8313 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.6463, allocations: 1.433 MB / 0.8327 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003405/0.6497, allocations: 2.989 MB / 0.8356 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.6508, allocations: 0.8904 MB / 0.8365 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.6529, allocations: 1.157 MB / 0.8376 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.654, allocations: 0.7957 MB / 0.8384 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.6542, allocations: 100.1 kB / 0.8385 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.6575, allocations: 2.054 MB / 0.8405 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000364/0.6579, allocations: 367.2 kB / 0.8408 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005937/0.6585, allocations: 0.5942 MB / 0.8414 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.6617, allocations: 2.391 MB / 0.8437 GB, free: 180 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6617, allocations: 0 / 0.8437 GB, free: 180 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6617, allocations: 0 / 0.8437 GB, free: 180 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.6617, allocations: 2.594 kB / 0.8438 GB, free: 180 kB / 0.5919 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.003062/0.6648, allocations: 1.622 MB / 0.8453 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.6648, allocations: 10.44 kB / 0.8453 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/0.6676, allocations: 0.5428 MB / 0.8459 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.6695, allocations: 1.032 MB / 0.8469 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.6696, allocations: 59.66 kB / 0.8469 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.6697, allocations: 69.45 kB / 0.847 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.6718, allocations: 1.105 MB / 0.8481 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.6718, allocations: 0 / 0.8481 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.6719, allocations: 31.34 kB / 0.8481 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.672, allocations: 34.2 kB / 0.8481 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/0.6747, allocations: 1.157 MB / 0.8493 GB, free: 12.28 MB / 0.6075 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.004936/0.6797, allocations: 3.172 MB / 0.8524 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.6813, allocations: 0.6895 MB / 0.853 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.682, allocations: 422.1 kB / 0.8535 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/0.6829, allocations: 1.023 MB / 0.8545 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009586/0.6838, allocations: 0.5104 MB / 0.8549 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 1.723e-06/0.6839, allocations: 4 kB / 0.855 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.002749/0.6866, allocations: 1.221 MB / 0.8561 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.6867, allocations: 140.8 kB / 0.8563 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.6884, allocations: 1.184 MB / 0.8574 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.6885, allocations: 33.7 kB / 0.8575 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.6888, allocations: 443.7 kB / 0.8579 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.689, allocations: 190.5 kB / 0.8581 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.6892, allocations: 146 kB / 0.8582 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6894, allocations: 334 kB / 0.8585 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.6905, allocations: 436.8 kB / 0.8589 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.6918, allocations: 0.6015 MB / 0.8595 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.6938, allocations: 0.9301 MB / 0.8604 GB, free: 372 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6938, allocations: 0 / 0.8604 GB, free: 372 kB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002866/0.6967, allocations: 1.201 MB / 0.8616 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.6967, allocations: 33.7 kB / 0.8616 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6967, allocations: 4 kB / 0.8617 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6968, allocations: 4 kB / 0.8617 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.6976, allocations: 188 kB / 0.8618 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.6977, allocations: 15.92 kB / 0.8619 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.699, allocations: 238.9 kB / 0.8621 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.6991, allocations: 39.97 kB / 0.8621 GB, free: 14.62 MB / 0.6231 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.0004169/0.6996, allocations: 323.3 kB / 0.8624 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.6997, allocations: 118.6 kB / 0.8625 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.7017, allocations: 0.9884 MB / 0.8635 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.7017, allocations: 11.98 kB / 0.8635 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7017, allocations: 3.938 kB / 0.8635 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.7018, allocations: 0 / 0.8635 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.7061, allocations: 3.163 MB / 0.8666 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.7061, allocations: 4 kB / 0.8666 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.7067, allocations: 119.8 kB / 0.8667 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.7067, allocations: 16.19 kB / 0.8667 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.7068, allocations: 23.98 kB / 0.8668 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.7068, allocations: 15.94 kB / 0.8668 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.7068, allocations: 11.94 kB / 0.8668 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.7087, allocations: 1.356 MB / 0.8681 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.7092, allocations: 327.4 kB / 0.8684 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.7094, allocations: 23.98 kB / 0.8685 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.7104, allocations: 95.91 kB / 0.8685 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.7105, allocations: 59.75 kB / 0.8686 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.7106, allocations: 43.98 kB / 0.8686 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001343/0.7119, allocations: 0.8482 MB / 0.8695 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7119, allocations: 3.938 kB / 0.8695 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001006/0.713, allocations: 303.8 kB / 0.8698 GB, free: 6.484 MB / 0.6231 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.0007152/0.7137, allocations: 353.8 kB / 0.8701 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.716, allocations: 1.017 MB / 0.8711 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.716, allocations: 4.125 kB / 0.8711 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008898/0.7169, allocations: 0.5007 MB / 0.8716 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.7195, allocations: 0.5549 MB / 0.8721 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.7229, allocations: 2.027 MB / 0.8741 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.7237, allocations: 1.069 MB / 0.8752 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009031/0.7246, allocations: 275.5 kB / 0.8754 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.7249, allocations: 79.42 kB / 0.8755 GB, free: 484 kB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.7249, allocations: 0 / 0.8755 GB, free: 484 kB / 0.6231 GB Notification: Performance of Templates: time 0.03401/0.7589, allocations: 22.17 MB / 0.8971 GB, free: 10.52 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)