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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 113.9 kB / 17.33 MB, free: 5.008 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.001311/0.001311, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.426/1.426, allocations: 225.6 MB / 244.8 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.037/1.037, allocations: 128.4 MB / 426.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.09 kB / 0.5912 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1768, allocations: 83.26 MB / 0.6725 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6372/0.814, allocations: 194.8 MB / 0.8627 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.8254, allocations: 6.955 MB / 0.8695 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.827, allocations: 47.03 kB / 0.8695 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.829, allocations: 0.7162 MB / 0.8702 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006374/0.8354, allocations: 2.437 MB / 0.8726 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.8392, allocations: 1.453 MB / 0.874 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004996/0.8442, allocations: 2.994 MB / 0.8769 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.8457, allocations: 0.7366 MB / 0.8777 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004838/0.8505, allocations: 1.583 MB / 0.8792 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.852, allocations: 0.8467 MB / 0.88 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.8522, allocations: 96 kB / 0.8801 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.8564, allocations: 2.132 MB / 0.8822 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000441/0.8569, allocations: 378.7 kB / 0.8826 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006852/0.8576, allocations: 0.5869 MB / 0.8831 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00354/0.8611, allocations: 2.402 MB / 0.8855 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8611, allocations: 3.984 kB / 0.8855 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8611, allocations: 0 / 0.8855 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.8611, allocations: 0 / 0.8855 GB, free: 2.004 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003406/0.8645, allocations: 1.674 MB / 0.8871 GB, free: 276 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.8646, allocations: 8.031 kB / 0.8871 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/0.8675, allocations: 0.5338 MB / 0.8877 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.8697, allocations: 1.052 MB / 0.8887 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/0.8698, allocations: 53.31 kB / 0.8887 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.87, allocations: 64 kB / 0.8888 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.8724, allocations: 1.109 MB / 0.8899 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.8724, allocations: 0 / 0.8899 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-05/0.8725, allocations: 28 kB / 0.8899 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.8725, allocations: 37.3 kB / 0.8899 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.8754, allocations: 1.164 MB / 0.8911 GB, free: 12.15 MB / 0.6544 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.005804/0.8812, allocations: 3.174 MB / 0.8942 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.8828, allocations: 0.6474 MB / 0.8948 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007626/0.8836, allocations: 398 kB / 0.8952 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009582/0.8845, allocations: 1.013 MB / 0.8962 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.8856, allocations: 0.526 MB / 0.8967 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 1.753e-06/0.8856, allocations: 0 / 0.8967 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.002984/0.8886, allocations: 1.241 MB / 0.8979 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.8887, allocations: 136.9 kB / 0.898 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.8906, allocations: 1.172 MB / 0.8992 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.29e-05/0.8907, allocations: 41.7 kB / 0.8992 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.8911, allocations: 441.8 kB / 0.8996 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.8913, allocations: 202.3 kB / 0.8998 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.8915, allocations: 142.2 kB / 0.9 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8917, allocations: 329.9 kB / 0.9003 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.8928, allocations: 444.9 kB / 0.9007 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.8942, allocations: 0.5964 MB / 0.9013 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.8961, allocations: 0.9262 MB / 0.9022 GB, free: 264 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.8961, allocations: 4 kB / 0.9022 GB, free: 260 kB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003018/0.8992, allocations: 1.206 MB / 0.9034 GB, free: 15.03 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.8992, allocations: 33.7 kB / 0.9034 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.8992, allocations: 4 kB / 0.9034 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.8993, allocations: 20.16 kB / 0.9034 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/0.9002, allocations: 183.8 kB / 0.9036 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.9002, allocations: 11.92 kB / 0.9036 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.9017, allocations: 243.1 kB / 0.9038 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.9018, allocations: 35.97 kB / 0.9039 GB, free: 14.5 MB / 0.67 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.0005864/0.9024, allocations: 329.5 kB / 0.9042 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.9026, allocations: 123.2 kB / 0.9043 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.9047, allocations: 0.9923 MB / 0.9053 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.9047, allocations: 19.92 kB / 0.9053 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9047, allocations: 0 / 0.9053 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9047, allocations: 0 / 0.9053 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/0.9096, allocations: 3.162 MB / 0.9084 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.9096, allocations: 8 kB / 0.9084 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.9102, allocations: 120.2 kB / 0.9085 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.9102, allocations: 12 kB / 0.9085 GB, free: 9.574 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.9102, allocations: 19.98 kB / 0.9085 GB, free: 9.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.9103, allocations: 12 kB / 0.9086 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.9103, allocations: 11.94 kB / 0.9086 GB, free: 9.531 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.9124, allocations: 1.357 MB / 0.9099 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004772/0.9129, allocations: 332.1 kB / 0.9102 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.913, allocations: 27.98 kB / 0.9102 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.9141, allocations: 99.91 kB / 0.9103 GB, free: 7.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.9142, allocations: 67.89 kB / 0.9104 GB, free: 7.523 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.643e-05/0.9143, allocations: 39.97 kB / 0.9104 GB, free: 7.484 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00143/0.9157, allocations: 0.8482 MB / 0.9113 GB, free: 6.629 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9157, allocations: 0 / 0.9113 GB, free: 6.629 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001081/0.9168, allocations: 307.6 kB / 0.9116 GB, free: 6.328 MB / 0.67 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.0007376/0.9175, allocations: 349.2 kB / 0.9119 GB, free: 5.988 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00244/0.92, allocations: 0.9732 MB / 0.9128 GB, free: 5.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.92, allocations: 0 / 0.9128 GB, free: 5.004 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.921, allocations: 488.7 kB / 0.9133 GB, free: 4.516 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.9234, allocations: 0.5397 MB / 0.9138 GB, free: 3.984 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.9273, allocations: 2.069 MB / 0.9158 GB, free: 1.777 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000796/0.9281, allocations: 1.069 MB / 0.9169 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009463/0.929, allocations: 274.3 kB / 0.9172 GB, free: 420 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.9293, allocations: 79.42 kB / 0.9172 GB, free: 340 kB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.9293, allocations: 0 / 0.9172 GB, free: 340 kB / 0.67 GB Notification: Performance of Templates: time 0.0427/0.972, allocations: 22.4 MB / 0.9391 GB, free: 10.11 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (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) [Timeout 480]