Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7402/0.7402, allocations: 143.8 MB / 159.1 MB, free: 6.496 MB / 122.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.001016/0.001016, allocations: 183.3 kB / 192 MB, free: 6.723 MB / 154.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 1.309/1.309, allocations: 225.7 MB / 450.4 MB, free: 5 MB / 330.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.0007858/0.0007857, allocations: 107.5 kB / 0.5211 GB, free: 1.656 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001701/0.001701, allocations: 277.5 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004838, allocations: 11.72 kB / 0.6948 GB, free: 59.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1393, allocations: 82.46 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5071/0.6464, allocations: 184 MB / 0.955 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.6579, allocations: 9.208 MB / 0.964 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.6599, allocations: 36.7 kB / 0.964 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.662, allocations: 0.5672 MB / 0.9646 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006095/0.6681, allocations: 2.18 MB / 0.9667 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.6712, allocations: 1.288 MB / 0.968 GB, free: 15.14 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004064/0.6753, allocations: 3.735 MB / 0.9716 GB, free: 14.07 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.6766, allocations: 0.7744 MB / 0.9724 GB, free: 13.76 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.6786, allocations: 0.9898 MB / 0.9733 GB, free: 13.45 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.6806, allocations: 0.7867 MB / 0.9741 GB, free: 13.21 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.6808, allocations: 40.59 kB / 0.9742 GB, free: 13.21 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.6845, allocations: 2.169 MB / 0.9763 GB, free: 12.35 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.6848, allocations: 298.4 kB / 0.9766 GB, free: 12.25 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005654/0.6854, allocations: 0.5519 MB / 0.9771 GB, free: 11.99 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.6886, allocations: 2.401 MB / 0.9794 GB, free: 10.71 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6886, allocations: 0 / 0.9794 GB, free: 10.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6886, allocations: 4 kB / 0.9794 GB, free: 10.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.6887, allocations: 0 / 0.9794 GB, free: 10.71 MB / 0.573 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.002788/0.6914, allocations: 1.39 MB / 0.9808 GB, free: 9.695 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6915, allocations: 7.781 kB / 0.9808 GB, free: 9.695 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/0.6942, allocations: 0.6014 MB / 0.9814 GB, free: 9.457 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.6961, allocations: 0.9905 MB / 0.9824 GB, free: 8.887 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/0.6972, allocations: 314.3 kB / 0.9827 GB, free: 8.793 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.6973, allocations: 80.11 kB / 0.9827 GB, free: 8.781 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.6996, allocations: 1.138 MB / 0.9839 GB, free: 8.426 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6996, allocations: 10 kB / 0.9839 GB, free: 8.418 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.6997, allocations: 27.19 kB / 0.9839 GB, free: 8.418 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.6997, allocations: 32.89 kB / 0.9839 GB, free: 8.414 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.7026, allocations: 1.249 MB / 0.9851 GB, free: 8.16 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005341/0.708, allocations: 3.26 MB / 0.9883 GB, free: 6.48 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.7095, allocations: 0.701 MB / 0.989 GB, free: 6.34 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/0.7102, allocations: 431.5 kB / 0.9894 GB, free: 6.262 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009058/0.7111, allocations: 1.023 MB / 0.9904 GB, free: 5.105 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009118/0.712, allocations: 0.5252 MB / 0.9909 GB, free: 4.895 MB / 0.573 GB Notification: Performance of pre-optimization done (n=57): time 2.405e-06/0.712, allocations: 0 / 0.9909 GB, free: 4.895 MB / 0.573 GB Notification: Performance of matching and sorting (n=57): time 0.002675/0.7147, allocations: 1.236 MB / 0.9921 GB, free: 4.59 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.7148, allocations: 142.7 kB / 0.9923 GB, free: 4.426 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.7166, allocations: 1.216 MB / 0.9935 GB, free: 4.074 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.7167, allocations: 37.58 kB / 0.9935 GB, free: 4.043 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.717, allocations: 440.2 kB / 0.9939 GB, free: 3.879 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.7171, allocations: 187.3 kB / 0.9941 GB, free: 3.742 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.7172, allocations: 8.094 kB / 0.9941 GB, free: 3.742 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7173, allocations: 331.4 kB / 0.9944 GB, free: 3.43 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.7185, allocations: 484 kB / 0.9949 GB, free: 3.332 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.7198, allocations: 0.6417 MB / 0.9955 GB, free: 3.082 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.7218, allocations: 0.9746 MB / 0.9965 GB, free: 2.754 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.7218, allocations: 0 / 0.9965 GB, free: 2.754 MB / 0.573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002796/0.7246, allocations: 1.283 MB / 0.9977 GB, free: 2.062 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.7247, allocations: 41.25 kB / 0.9977 GB, free: 2.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.7247, allocations: 4 kB / 0.9978 GB, free: 2.016 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7247, allocations: 4 kB / 0.9978 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/0.7257, allocations: 211.4 kB / 0.998 GB, free: 1.809 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.7257, allocations: 19.86 kB / 0.998 GB, free: 1.789 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.7272, allocations: 304.2 kB / 0.9983 GB, free: 1.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.7273, allocations: 36.28 kB / 0.9983 GB, free: 1.469 MB / 0.573 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 ($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 (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.0003949/0.7277, allocations: 323.9 kB / 0.9986 GB, free: 1.223 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.7278, allocations: 111.2 kB / 0.9987 GB, free: 1.113 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.7298, allocations: 1.009 MB / 0.9997 GB, free: 380 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.7298, allocations: 7.984 kB / 0.9997 GB, free: 372 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.7298, allocations: 7.938 kB / 0.9997 GB, free: 364 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.7298, allocations: 4.031 kB / 0.9997 GB, free: 360 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/0.734, allocations: 3.18 MB / 1.003 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.7341, allocations: 8 kB / 1.003 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.7347, allocations: 123.2 kB / 1.003 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.7347, allocations: 12 kB / 1.003 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.7347, allocations: 28.3 kB / 1.003 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.709e-06/0.7348, allocations: 11.94 kB / 1.003 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/0.7348, allocations: 11.94 kB / 1.003 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.7366, allocations: 1.357 MB / 1.004 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.7371, allocations: 331.6 kB / 1.005 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7372, allocations: 22.8 kB / 1.005 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.7383, allocations: 129.3 kB / 1.005 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7385, allocations: 58.08 kB / 1.005 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/0.7385, allocations: 37.22 kB / 1.005 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001378/0.7399, allocations: 0.8827 MB / 1.006 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7399, allocations: 4 kB / 1.006 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009208/0.7409, allocations: 296.5 kB / 1.006 GB, free: 11.05 MB / 0.5886 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.0006581/0.7415, allocations: 363.4 kB / 1.006 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002238/0.7438, allocations: 1.056 MB / 1.007 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7438, allocations: 0 / 1.007 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008556/0.7447, allocations: 0.5235 MB / 1.008 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/0.7481, allocations: 0.5209 MB / 1.008 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.7516, allocations: 2.377 MB / 1.011 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.7523, allocations: 1.065 MB / 1.012 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001045/0.7533, allocations: 284 kB / 1.012 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.7536, allocations: 82.34 kB / 1.012 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/0.7536, allocations: 0 / 1.012 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of Templates: time 0.03174/0.7853, allocations: 21.16 MB / 1.033 GB, free: 0.4922 MB / 0.6042 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)