Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 179.2 kB / 327.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007399/0.0007399, allocations: 86.34 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 9.906 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1831, allocations: 106.3 MB / 0.9015 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5749/0.7581, allocations: 189.4 MB / 1.086 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009979/0.7681, allocations: 6.983 MB / 1.093 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.7702, allocations: 36.12 kB / 1.093 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.7721, allocations: 0.5631 MB / 1.094 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005795/0.7779, allocations: 2.196 MB / 1.096 GB, free: 1.348 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.7814, allocations: 1.287 MB / 1.097 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004816/0.7862, allocations: 3.7 MB / 1.101 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.7876, allocations: 0.7477 MB / 1.102 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.7895, allocations: 0.9509 MB / 1.102 GB, free: 1.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.7914, allocations: 0.8573 MB / 1.103 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.7916, allocations: 44.94 kB / 1.103 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004441/0.7961, allocations: 2.217 MB / 1.105 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.7965, allocations: 312.7 kB / 1.106 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007676/0.7973, allocations: 0.5544 MB / 1.106 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.7998, allocations: 1.756 MB / 1.108 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7999, allocations: 0 / 1.108 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7999, allocations: 0 / 1.108 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.7999, allocations: 2.875 kB / 1.108 GB, free: 0.9688 MB / 0.698 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.00319/0.8031, allocations: 1.413 MB / 1.109 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8031, allocations: 11.31 kB / 1.109 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/0.8059, allocations: 0.5979 MB / 1.11 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.808, allocations: 1.005 MB / 1.111 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001159/0.8092, allocations: 319.9 kB / 1.111 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.8093, allocations: 71.72 kB / 1.111 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.8117, allocations: 1.175 MB / 1.113 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.8117, allocations: 0 / 1.113 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.8118, allocations: 30.47 kB / 1.113 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.8119, allocations: 30.47 kB / 1.113 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/0.8151, allocations: 1.331 MB / 1.114 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005676/0.8208, allocations: 3.069 MB / 1.117 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.8226, allocations: 0.74 MB / 1.118 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/0.8234, allocations: 455.7 kB / 1.118 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009614/0.8244, allocations: 1.023 MB / 1.119 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009991/0.8254, allocations: 0.5362 MB / 1.12 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.795e-06/0.8254, allocations: 4 kB / 1.12 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002973/0.8284, allocations: 1.291 MB / 1.121 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.8285, allocations: 116.3 kB / 1.121 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.8307, allocations: 1.214 MB / 1.122 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.8309, allocations: 45.22 kB / 1.122 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.8312, allocations: 429.6 kB / 1.123 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.8314, allocations: 198.1 kB / 1.123 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.8315, allocations: 18.06 kB / 1.123 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8316, allocations: 325.4 kB / 1.123 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.8329, allocations: 0.4899 MB / 1.124 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.8344, allocations: 0.6447 MB / 1.124 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.8368, allocations: 0.9923 MB / 1.125 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.8368, allocations: 0.625 kB / 1.125 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004092/0.8409, allocations: 1.322 MB / 1.126 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.841, allocations: 34.05 kB / 1.126 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.841, allocations: 9.625 kB / 1.127 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.8411, allocations: 12.7 kB / 1.127 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.8421, allocations: 211.5 kB / 1.127 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.8422, allocations: 9.094 kB / 1.127 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.8439, allocations: 307.7 kB / 1.127 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.844, allocations: 38.73 kB / 1.127 GB, free: 11.81 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0005374/0.8446, allocations: 328.2 kB / 1.127 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.8448, allocations: 120.8 kB / 1.127 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.8468, allocations: 1.061 MB / 1.129 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.8468, allocations: 6.891 kB / 1.129 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8468, allocations: 2.344 kB / 1.129 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.8469, allocations: 7.984 kB / 1.129 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.8515, allocations: 3.233 MB / 1.132 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.8515, allocations: 7.109 kB / 1.132 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.8521, allocations: 129.1 kB / 1.132 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.8521, allocations: 9.406 kB / 1.132 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.8522, allocations: 35.95 kB / 1.132 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.8522, allocations: 12.31 kB / 1.132 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8522, allocations: 10.94 kB / 1.132 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.8544, allocations: 1.333 MB / 1.133 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.8549, allocations: 334.5 kB / 1.134 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.855, allocations: 30.05 kB / 1.134 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8561, allocations: 128.9 kB / 1.134 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.8563, allocations: 66.83 kB / 1.134 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.8563, allocations: 45.22 kB / 1.134 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001488/0.8578, allocations: 0.8863 MB / 1.135 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8578, allocations: 1.859 kB / 1.135 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001062/0.8589, allocations: 306.3 kB / 1.135 GB, free: 9.262 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (58): * Single equations (assignments): 53 * 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.0007153/0.8596, allocations: 340.3 kB / 1.135 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.862, allocations: 1.09 MB / 1.136 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8621, allocations: 1.75 kB / 1.136 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009921/0.8631, allocations: 0.5444 MB / 1.137 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/0.8666, allocations: 0.5396 MB / 1.137 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.8704, allocations: 2.429 MB / 1.14 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.8711, allocations: 1.07 MB / 1.141 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/0.8715, allocations: 92.3 kB / 1.141 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.8715, allocations: 4.656 kB / 1.141 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of Templates: time 0.02799/0.8995, allocations: 18.76 MB / 1.159 GB, free: 9.91 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)