Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.196/2.196, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 183.3 kB / 329.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.37/2.37, allocations: 225.6 MB / 0.6001 GB, free: 476 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009646/0.0009647, allocations: 103.2 kB / 0.7074 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007469/0.0007471, allocations: 13.03 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2209, allocations: 109.1 MB / 0.9308 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9207/1.142, allocations: 176.8 MB / 1.103 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01547/1.157, allocations: 6.622 MB / 1.11 GB, free: 44 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/1.159, allocations: 42.12 kB / 1.11 GB, free: 20 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002253/1.161, allocations: 474.7 kB / 1.11 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007023/1.168, allocations: 1.68 MB / 1.112 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004929/1.173, allocations: 1.077 MB / 1.113 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006451/1.18, allocations: 3.232 MB / 1.116 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/1.182, allocations: 0.7263 MB / 1.117 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/1.185, allocations: 0.9342 MB / 1.118 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/1.188, allocations: 0.8039 MB / 1.119 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003448/1.188, allocations: 41.03 kB / 1.119 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004747/1.193, allocations: 1.214 MB / 1.12 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007503/1.194, allocations: 305.4 kB / 1.12 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006394/1.194, allocations: 239.8 kB / 1.12 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/1.198, allocations: 1.633 MB / 1.122 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.198, allocations: 0 / 1.122 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.595e-06/1.198, allocations: 0 / 1.122 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.745e-05/1.198, allocations: 0 / 1.122 GB, free: 8.234 MB / 0.6823 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.006718/1.205, allocations: 1.423 MB / 1.123 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.205, allocations: 8.688 kB / 1.123 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/1.21, allocations: 0.6064 MB / 1.124 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/1.213, allocations: 0.9713 MB / 1.125 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002261/1.216, allocations: 313.1 kB / 1.125 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/1.216, allocations: 70.92 kB / 1.125 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/1.221, allocations: 1.168 MB / 1.126 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/1.221, allocations: 7.875 kB / 1.126 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/1.221, allocations: 27.91 kB / 1.126 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/1.221, allocations: 29.92 kB / 1.126 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/1.227, allocations: 1.325 MB / 1.128 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009785/1.237, allocations: 3.088 MB / 1.131 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/1.24, allocations: 0.729 MB / 1.132 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/1.242, allocations: 453.6 kB / 1.132 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/1.243, allocations: 1.026 MB / 1.133 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/1.245, allocations: 0.5328 MB / 1.133 GB, free: 296 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 3.126e-06/1.245, allocations: 0 / 1.133 GB, free: 296 kB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.005135/1.25, allocations: 1.29 MB / 1.135 GB, free: 15.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/1.25, allocations: 115 kB / 1.135 GB, free: 15.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/1.254, allocations: 1.21 MB / 1.136 GB, free: 14.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001808/1.254, allocations: 38.8 kB / 1.136 GB, free: 14.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/1.254, allocations: 429.8 kB / 1.136 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/1.255, allocations: 197.7 kB / 1.137 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/1.255, allocations: 10.94 kB / 1.137 GB, free: 14.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.255, allocations: 339.2 kB / 1.137 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/1.257, allocations: 0.4889 MB / 1.137 GB, free: 13.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/1.26, allocations: 0.6372 MB / 1.138 GB, free: 13.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/1.263, allocations: 0.5486 MB / 1.139 GB, free: 13.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.263, allocations: 2.969 kB / 1.139 GB, free: 13.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005935/1.269, allocations: 1.311 MB / 1.14 GB, free: 12.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/1.269, allocations: 41.53 kB / 1.14 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.269, allocations: 7.125 kB / 1.14 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.269, allocations: 5.344 kB / 1.14 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.271, allocations: 221.4 kB / 1.14 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.271, allocations: 2.406 kB / 1.14 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/1.274, allocations: 308.9 kB / 1.14 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/1.274, allocations: 36.59 kB / 1.14 GB, free: 12.18 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007526/1.275, allocations: 333.2 kB / 1.141 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/1.275, allocations: 114 kB / 1.141 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/1.279, allocations: 1.07 MB / 1.142 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/1.279, allocations: 11.94 kB / 1.142 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.279, allocations: 4 kB / 1.142 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/1.279, allocations: 3.984 kB / 1.142 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008731/1.288, allocations: 3.23 MB / 1.145 GB, free: 7.629 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.288, allocations: 8 kB / 1.145 GB, free: 7.621 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.289, allocations: 127.8 kB / 1.145 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.668e-05/1.289, allocations: 16.06 kB / 1.145 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/1.289, allocations: 23.98 kB / 1.145 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/1.289, allocations: 19.92 kB / 1.145 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/1.289, allocations: 11.94 kB / 1.145 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004044/1.293, allocations: 1.317 MB / 1.147 GB, free: 5.988 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008857/1.294, allocations: 335.4 kB / 1.147 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/1.295, allocations: 23.94 kB / 1.147 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.297, allocations: 131.9 kB / 1.147 GB, free: 5.488 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/1.297, allocations: 59.77 kB / 1.147 GB, free: 5.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.297, allocations: 47.95 kB / 1.147 GB, free: 5.383 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002753/1.3, allocations: 0.8714 MB / 1.148 GB, free: 4.504 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.01e-07/1.3, allocations: 3.938 kB / 1.148 GB, free: 4.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001631/1.302, allocations: 303.8 kB / 1.148 GB, free: 4.203 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009785/1.303, allocations: 350.5 kB / 1.149 GB, free: 3.859 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004621/1.307, allocations: 1.084 MB / 1.15 GB, free: 2.766 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.307, allocations: 0 / 1.15 GB, free: 2.766 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/1.309, allocations: 0.545 MB / 1.15 GB, free: 2.211 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007517/1.317, allocations: 0.5452 MB / 1.151 GB, free: 1.668 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009713/1.326, allocations: 2.302 MB / 1.153 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.328, allocations: 1.066 MB / 1.154 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003328/1.331, allocations: 284.1 kB / 1.154 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/1.332, allocations: 87.41 kB / 1.154 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of SimCode: time 1.583e-06/1.332, allocations: 4 kB / 1.154 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of Templates: time 0.08779/1.42, allocations: 20.84 MB / 1.175 GB, free: 9.191 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)