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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4783/0.4783, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 104.5 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 56.05 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3498, allocations: 70.05 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5319/0.8817, allocations: 191.6 MB / 0.7446 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.8922, allocations: 6.984 MB / 0.7515 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.8945, allocations: 38.75 kB / 0.7515 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.8968, allocations: 0.5696 MB / 0.752 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006805/0.9036, allocations: 2.187 MB / 0.7542 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.9072, allocations: 1.28 MB / 0.7554 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00462/0.9118, allocations: 3.771 MB / 0.7591 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.9132, allocations: 0.7914 MB / 0.7599 GB, free: 112 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.9153, allocations: 0.9819 MB / 0.7608 GB, free: 108 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.9174, allocations: 0.822 MB / 0.7616 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.9176, allocations: 48.06 kB / 0.7617 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004835/0.9225, allocations: 2.221 MB / 0.7639 GB, free: 68 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005304/0.923, allocations: 320.1 kB / 0.7642 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008685/0.9239, allocations: 0.5362 MB / 0.7647 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.928, allocations: 2.421 MB / 0.7671 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.928, allocations: 2.188 kB / 0.7671 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/0.928, allocations: 4 kB / 0.7671 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.928, allocations: 0 / 0.7671 GB, free: 15.66 MB / 0.5261 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.003554/0.9316, allocations: 1.63 MB / 0.7687 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.9316, allocations: 8.438 kB / 0.7687 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.9346, allocations: 0.5396 MB / 0.7692 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.9367, allocations: 0.9907 MB / 0.7702 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001185/0.9379, allocations: 270.6 kB / 0.7704 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.9381, allocations: 66.62 kB / 0.7705 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.9406, allocations: 1.124 MB / 0.7716 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.9406, allocations: 6.469 kB / 0.7716 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.9407, allocations: 28.84 kB / 0.7716 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.9407, allocations: 36.25 kB / 0.7716 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/0.9438, allocations: 1.201 MB / 0.7728 GB, free: 13.38 MB / 0.5261 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.005988/0.9498, allocations: 3.208 MB / 0.7759 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.9515, allocations: 0.6875 MB / 0.7766 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007983/0.9523, allocations: 418.8 kB / 0.777 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009183/0.9533, allocations: 1.026 MB / 0.778 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.9544, allocations: 0.5109 MB / 0.7785 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 3.346e-06/0.9544, allocations: 0 / 0.7785 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.002993/0.9574, allocations: 1.219 MB / 0.7797 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.9575, allocations: 145 kB / 0.7798 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.9596, allocations: 1.209 MB / 0.781 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/0.9597, allocations: 35.7 kB / 0.7811 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.9601, allocations: 445 kB / 0.7815 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.9603, allocations: 186.8 kB / 0.7817 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.9605, allocations: 137.7 kB / 0.7818 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9607, allocations: 333 kB / 0.7821 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.962, allocations: 466.7 kB / 0.7826 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.9635, allocations: 0.608 MB / 0.7832 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.9656, allocations: 0.9484 MB / 0.7841 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.9656, allocations: 2.5 kB / 0.7841 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003863/0.9694, allocations: 1.236 MB / 0.7853 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.9695, allocations: 33.98 kB / 0.7853 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.9695, allocations: 7.688 kB / 0.7853 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.9696, allocations: 11.77 kB / 0.7853 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.9706, allocations: 195.1 kB / 0.7855 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.9707, allocations: 11.81 kB / 0.7855 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.9726, allocations: 274.5 kB / 0.7858 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.9727, allocations: 32.7 kB / 0.7858 GB, free: 6.145 MB / 0.5261 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.0006411/0.9734, allocations: 339.2 kB / 0.7862 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.9738, allocations: 117.8 kB / 0.7863 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.9761, allocations: 0.9976 MB / 0.7872 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.9761, allocations: 4 kB / 0.7872 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.9762, allocations: 7.938 kB / 0.7873 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.9762, allocations: 3.984 kB / 0.7873 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.9817, allocations: 3.155 MB / 0.7903 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.9818, allocations: 8 kB / 0.7903 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.9823, allocations: 123.7 kB / 0.7905 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.9824, allocations: 8 kB / 0.7905 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.9824, allocations: 24 kB / 0.7905 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-05/0.9825, allocations: 22.58 kB / 0.7905 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.9825, allocations: 10.53 kB / 0.7905 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/0.9862, allocations: 2.575 MB / 0.793 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/0.9869, allocations: 331.4 kB / 0.7934 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.9872, allocations: 20 kB / 0.7934 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.9885, allocations: 115.8 kB / 0.7935 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.9886, allocations: 59.58 kB / 0.7935 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.9887, allocations: 39.97 kB / 0.7936 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001786/0.9905, allocations: 0.8716 MB / 0.7944 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9905, allocations: 3.938 kB / 0.7944 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001475/0.992, allocations: 299.8 kB / 0.7947 GB, free: 13.26 MB / 0.5417 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.0008555/0.9929, allocations: 349.1 kB / 0.7951 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002627/0.9955, allocations: 1.024 MB / 0.7961 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.9956, allocations: 4 kB / 0.7961 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009813/0.9965, allocations: 0.5064 MB / 0.7966 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.9998, allocations: 0.5323 MB / 0.7971 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/1.004, allocations: 2.734 MB / 0.7997 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/1.005, allocations: 1.089 MB / 0.8008 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001231/1.006, allocations: 273.2 kB / 0.8011 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/1.006, allocations: 79.42 kB / 0.8011 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of SimCode: time 1.883e-06/1.006, allocations: 0 / 0.8011 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of Templates: time 0.03572/1.042, allocations: 21.76 MB / 0.8224 GB, free: 1.102 MB / 0.5573 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)