Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009419/0.000942, allocations: 183 kB / 16.08 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4538/0.4538, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.253/1.253, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.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.0007918/0.000792, allocations: 92.95 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 12 kB / 0.4955 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.268, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3987/0.6668, allocations: 184 MB / 0.7449 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008738/0.6756, allocations: 9.203 MB / 0.7539 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.6767, allocations: 34.88 kB / 0.7539 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.6779, allocations: 0.5654 MB / 0.7545 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.682, allocations: 2.173 MB / 0.7566 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.6845, allocations: 1.286 MB / 0.7578 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003084/0.6876, allocations: 3.733 MB / 0.7615 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009104/0.6885, allocations: 0.7718 MB / 0.7622 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.69, allocations: 0.9846 MB / 0.7632 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.6915, allocations: 0.791 MB / 0.764 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.6916, allocations: 40.84 kB / 0.764 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.6951, allocations: 2.172 MB / 0.7661 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.6955, allocations: 303.1 kB / 0.7664 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.696, allocations: 0.5539 MB / 0.767 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.6988, allocations: 2.4 MB / 0.7693 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6988, allocations: 0 / 0.7693 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6988, allocations: 3.062 kB / 0.7693 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.6988, allocations: 0 / 0.7693 GB, free: 8.156 MB / 0.5105 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.002572/0.7014, allocations: 1.39 MB / 0.7707 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7015, allocations: 15.39 kB / 0.7707 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.7041, allocations: 0.5993 MB / 0.7713 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.7059, allocations: 0.9917 MB / 0.7722 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/0.7071, allocations: 318.7 kB / 0.7725 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.7072, allocations: 71.42 kB / 0.7726 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.7094, allocations: 1.139 MB / 0.7737 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.7095, allocations: 2.125 kB / 0.7737 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.7095, allocations: 38.77 kB / 0.7738 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.7096, allocations: 30.62 kB / 0.7738 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.7124, allocations: 1.247 MB / 0.775 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005317/0.7177, allocations: 3.241 MB / 0.7782 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.7193, allocations: 0.695 MB / 0.7789 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.7201, allocations: 436.4 kB / 0.7793 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008786/0.721, allocations: 1.025 MB / 0.7803 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008732/0.7218, allocations: 0.5196 MB / 0.7808 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 2.705e-06/0.7219, allocations: 0 / 0.7808 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57): time 0.002605/0.7245, allocations: 1.244 MB / 0.782 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.7245, allocations: 144.8 kB / 0.7821 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.7263, allocations: 1.211 MB / 0.7833 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/0.7264, allocations: 37.3 kB / 0.7834 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.7267, allocations: 437.7 kB / 0.7838 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.7269, allocations: 189 kB / 0.784 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.7269, allocations: 13.25 kB / 0.784 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7271, allocations: 332.4 kB / 0.7843 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.7282, allocations: 489.2 kB / 0.7847 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.7297, allocations: 0.6318 MB / 0.7854 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.7316, allocations: 0.9837 MB / 0.7863 GB, free: 8 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7316, allocations: 0 / 0.7863 GB, free: 8 kB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002966/0.7346, allocations: 1.283 MB / 0.7876 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.7346, allocations: 36.7 kB / 0.7876 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7347, allocations: 3.984 kB / 0.7876 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.7347, allocations: 12.28 kB / 0.7876 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/0.7356, allocations: 210.8 kB / 0.7878 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.7356, allocations: 10.62 kB / 0.7878 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.7372, allocations: 310.3 kB / 0.7881 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/0.7373, allocations: 35.23 kB / 0.7882 GB, free: 14.41 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 ($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.0004456/0.7377, allocations: 333.7 kB / 0.7885 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.7379, allocations: 114.6 kB / 0.7886 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.7397, allocations: 1.009 MB / 0.7896 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.7398, allocations: 8 kB / 0.7896 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7398, allocations: 0 / 0.7896 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.7398, allocations: 15.92 kB / 0.7896 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.7439, allocations: 3.16 MB / 0.7927 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.744, allocations: 8.594 kB / 0.7927 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.7445, allocations: 126.5 kB / 0.7928 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.7445, allocations: 15.98 kB / 0.7928 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.7446, allocations: 19.06 kB / 0.7929 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/0.7446, allocations: 18.61 kB / 0.7929 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.7446, allocations: 18.47 kB / 0.7929 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.7465, allocations: 1.352 MB / 0.7942 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.7469, allocations: 333.1 kB / 0.7945 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.747, allocations: 22.25 kB / 0.7945 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.7481, allocations: 125.9 kB / 0.7947 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.7482, allocations: 58.52 kB / 0.7947 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.7483, allocations: 46.47 kB / 0.7948 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001396/0.7497, allocations: 0.8791 MB / 0.7956 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7497, allocations: 4 kB / 0.7956 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009084/0.7506, allocations: 289.1 kB / 0.7959 GB, free: 8.102 MB / 0.5261 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.0006301/0.7512, allocations: 352.6 kB / 0.7962 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.7534, allocations: 1.055 MB / 0.7973 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.7534, allocations: 4 kB / 0.7973 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.7542, allocations: 0.5116 MB / 0.7978 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/0.7574, allocations: 0.5373 MB / 0.7983 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.7606, allocations: 2.38 MB / 0.8006 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.7612, allocations: 1.072 MB / 0.8017 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009895/0.7622, allocations: 280.1 kB / 0.8019 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.7625, allocations: 78.42 kB / 0.802 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/0.7625, allocations: 0 / 0.802 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.03046/0.793, allocations: 21.14 MB / 0.8227 GB, free: 13.72 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)