Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001525/0.001525, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001908/0.001908, allocations: 186.6 kB / 16.25 MB, free: 6.578 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.492/1.492, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001382/0.001382, allocations: 67.8 kB / 0.671 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2143, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.618/0.8323, allocations: 191.5 MB / 0.9698 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.8434, allocations: 6.846 MB / 0.9765 GB, free: 84 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.8456, allocations: 41.25 kB / 0.9766 GB, free: 64 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.8478, allocations: 0.6015 MB / 0.9771 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006931/0.8547, allocations: 2.163 MB / 0.9793 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.8585, allocations: 1.302 MB / 0.9805 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00481/0.8633, allocations: 2.944 MB / 0.9834 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.865, allocations: 0.8864 MB / 0.9843 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.8682, allocations: 1.155 MB / 0.9854 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/0.8706, allocations: 0.8448 MB / 0.9862 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003601/0.871, allocations: 102.8 kB / 0.9863 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004796/0.8758, allocations: 2.146 MB / 0.9884 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005932/0.8764, allocations: 368.1 kB / 0.9888 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000964/0.8774, allocations: 0.5976 MB / 0.9894 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.8817, allocations: 2.505 MB / 0.9918 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.8817, allocations: 0 / 0.9918 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8817, allocations: 2.594 kB / 0.9918 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.8817, allocations: 0 / 0.9918 GB, free: 13.95 MB / 0.7481 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.003899/0.8856, allocations: 1.67 MB / 0.9934 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.8857, allocations: 9.938 kB / 0.9934 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.8887, allocations: 0.538 MB / 0.994 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.8909, allocations: 0.9913 MB / 0.9949 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/0.8921, allocations: 278.5 kB / 0.9952 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.8922, allocations: 66.47 kB / 0.9953 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.8948, allocations: 1.155 MB / 0.9964 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.8948, allocations: 3.938 kB / 0.9964 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.8949, allocations: 29.41 kB / 0.9964 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.895, allocations: 31.45 kB / 0.9965 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.8982, allocations: 1.28 MB / 0.9977 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.9043, allocations: 2.93 MB / 1.001 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.9063, allocations: 0.7166 MB / 1.001 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008562/0.9072, allocations: 446.9 kB / 1.002 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.9084, allocations: 1.024 MB / 1.003 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.9095, allocations: 0.5308 MB / 1.003 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=59): time 2.205e-06/0.9095, allocations: 0 / 1.003 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of matching and sorting (n=59): time 0.003458/0.913, allocations: 1.277 MB / 1.004 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.9131, allocations: 119 kB / 1.005 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.9153, allocations: 1.195 MB / 1.006 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.9155, allocations: 38.42 kB / 1.006 GB, free: 6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.9158, allocations: 442.2 kB / 1.006 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.9161, allocations: 195.5 kB / 1.006 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/0.9164, allocations: 149.9 kB / 1.007 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.9166, allocations: 326.8 kB / 1.007 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.9179, allocations: 477.6 kB / 1.007 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.9194, allocations: 0.6178 MB / 1.008 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.9216, allocations: 0.9593 MB / 1.009 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.9216, allocations: 0 / 1.009 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003266/0.9248, allocations: 1.265 MB / 1.01 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.9249, allocations: 33.48 kB / 1.01 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.9249, allocations: 1.812 kB / 1.01 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.9249, allocations: 5.781 kB / 1.01 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/0.9259, allocations: 208.5 kB / 1.01 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.9259, allocations: 8.703 kB / 1.01 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.9276, allocations: 269.8 kB / 1.011 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.9277, allocations: 40.38 kB / 1.011 GB, free: 2.992 MB / 0.7481 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 (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 (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.0005188/0.9282, allocations: 331.9 kB / 1.011 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.9285, allocations: 114 kB / 1.011 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.9306, allocations: 1.053 MB / 1.012 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.9306, allocations: 15.62 kB / 1.012 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.9306, allocations: 4 kB / 1.012 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.9307, allocations: 3.984 kB / 1.012 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.9356, allocations: 3.212 MB / 1.015 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.9356, allocations: 6.688 kB / 1.015 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.9362, allocations: 135.4 kB / 1.015 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.9362, allocations: 10.25 kB / 1.015 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-05/0.9363, allocations: 27.14 kB / 1.015 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.544e-05/0.9363, allocations: 17.58 kB / 1.015 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.9364, allocations: 11.81 kB / 1.015 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.9387, allocations: 1.318 MB / 1.017 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006082/0.9393, allocations: 337.6 kB / 1.017 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.9395, allocations: 24.53 kB / 1.017 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.9407, allocations: 116 kB / 1.017 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.9408, allocations: 68.44 kB / 1.017 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.252e-05/0.9409, allocations: 39.44 kB / 1.017 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001557/0.9424, allocations: 0.86 MB / 1.018 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9425, allocations: 0 / 1.018 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001259/0.9437, allocations: 311.1 kB / 1.018 GB, free: 13.91 MB / 0.7637 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.0007282/0.9445, allocations: 336.6 kB / 1.019 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002563/0.947, allocations: 1.087 MB / 1.02 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.9471, allocations: 8.062 kB / 1.02 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009983/0.9481, allocations: 0.5335 MB / 1.02 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.9508, allocations: 0.5588 MB / 1.021 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.955, allocations: 2.384 MB / 1.023 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/0.9556, allocations: 1.067 MB / 1.024 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001285/0.9569, allocations: 280.9 kB / 1.024 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.9572, allocations: 90.83 kB / 1.025 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/0.9572, allocations: 0 / 1.025 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of Templates: time 0.03551/0.9927, allocations: 22.19 MB / 1.046 GB, free: 8.305 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)