Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7616/0.7616, allocations: 131 MB / 146.3 MB, free: 1.324 MB / 106.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.0009404/0.0009403, allocations: 204.1 kB / 176.4 MB, free: 4.895 MB / 138.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.322/1.322, allocations: 225.7 MB / 431.9 MB, free: 8.852 MB / 314.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.0008427/0.0008428, allocations: 107.9 kB / 0.5003 GB, free: 9.949 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002897, allocations: 8 kB / 0.5885 GB, free: 72.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 79.6 MB / 0.6663 GB, free: 8.973 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4563/0.5774, allocations: 214.4 MB / 0.8756 GB, free: 2.203 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.5887, allocations: 9.257 MB / 0.8847 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.5902, allocations: 39.69 kB / 0.8847 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.592, allocations: 0.5671 MB / 0.8852 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005672/0.5977, allocations: 2.179 MB / 0.8874 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.6007, allocations: 1.187 MB / 0.8885 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005434/0.6061, allocations: 4.032 MB / 0.8925 GB, free: 336 kB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.6081, allocations: 0.8026 MB / 0.8933 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.6102, allocations: 0.996 MB / 0.8942 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.6126, allocations: 0.8622 MB / 0.8951 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.6128, allocations: 44 kB / 0.8951 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004211/0.617, allocations: 2.17 MB / 0.8972 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004845/0.6175, allocations: 298.8 kB / 0.8975 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008602/0.6184, allocations: 0.5379 MB / 0.898 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.6227, allocations: 2.467 MB / 0.9004 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.6227, allocations: 0 / 0.9004 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.368e-06/0.6228, allocations: 4 kB / 0.9005 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.913e-05/0.6228, allocations: 0 / 0.9005 GB, free: 8.109 MB / 0.6042 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.003874/0.6267, allocations: 1.403 MB / 0.9018 GB, free: 6.648 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6268, allocations: 12.03 kB / 0.9018 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.6297, allocations: 0.5918 MB / 0.9024 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.632, allocations: 0.9908 MB / 0.9034 GB, free: 5.012 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/0.6331, allocations: 313.1 kB / 0.9037 GB, free: 4.703 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.6333, allocations: 64 kB / 0.9037 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.636, allocations: 1.168 MB / 0.9049 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6361, allocations: 0 / 0.9049 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/0.6362, allocations: 24 kB / 0.9049 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.6362, allocations: 33.31 kB / 0.9049 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003375/0.6396, allocations: 1.333 MB / 0.9062 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/0.6454, allocations: 3.037 MB / 0.9092 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.6471, allocations: 0.7226 MB / 0.9099 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.6479, allocations: 398.5 kB / 0.9103 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008189/0.6487, allocations: 1.029 MB / 0.9113 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009492/0.6497, allocations: 0.5102 MB / 0.9118 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.574e-06/0.6497, allocations: 0 / 0.9118 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002806/0.6525, allocations: 1.199 MB / 0.913 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.6526, allocations: 118.8 kB / 0.9131 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.6546, allocations: 1.207 MB / 0.9143 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.6546, allocations: 37.7 kB / 0.9143 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.655, allocations: 464.6 kB / 0.9147 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.6552, allocations: 165.6 kB / 0.9149 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.6552, allocations: 8 kB / 0.9149 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6553, allocations: 337.9 kB / 0.9152 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.6566, allocations: 488.8 kB / 0.9157 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.658, allocations: 0.6133 MB / 0.9163 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.66, allocations: 0.9464 MB / 0.9172 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.66, allocations: 4 kB / 0.9172 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003051/0.6631, allocations: 1.268 MB / 0.9185 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.6631, allocations: 45.61 kB / 0.9185 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6631, allocations: 0 / 0.9185 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6632, allocations: 7.984 kB / 0.9185 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/0.6641, allocations: 207.8 kB / 0.9187 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.6642, allocations: 7.984 kB / 0.9187 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.6656, allocations: 298.8 kB / 0.919 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.6657, allocations: 35.92 kB / 0.919 GB, free: 4.449 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (65): * Single equations (assignments): 64 * 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.0004914/0.6662, allocations: 331.1 kB / 0.9193 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.6665, allocations: 114.7 kB / 0.9195 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.6686, allocations: 0.9988 MB / 0.9204 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.6686, allocations: 16 kB / 0.9204 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6686, allocations: 0 / 0.9204 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6686, allocations: 3.984 kB / 0.9204 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.673, allocations: 2.782 MB / 0.9232 GB, free: 44 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.673, allocations: 4 kB / 0.9232 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.6736, allocations: 120 kB / 0.9233 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.6736, allocations: 8 kB / 0.9233 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.6737, allocations: 23.92 kB / 0.9233 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.6737, allocations: 15.92 kB / 0.9233 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.6737, allocations: 12 kB / 0.9233 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.6757, allocations: 1.212 MB / 0.9245 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.6763, allocations: 319.4 kB / 0.9248 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.6765, allocations: 24.03 kB / 0.9248 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.6776, allocations: 131.8 kB / 0.925 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6777, allocations: 47.83 kB / 0.925 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.272e-05/0.6778, allocations: 35.97 kB / 0.9251 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001579/0.6794, allocations: 0.8831 MB / 0.9259 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.6794, allocations: 4 kB / 0.9259 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001008/0.6804, allocations: 295.8 kB / 0.9262 GB, free: 12.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (50): * Single equations (assignments): 45 * 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.0007346/0.6812, allocations: 356 kB / 0.9265 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.6835, allocations: 1.041 MB / 0.9276 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.6836, allocations: 4 kB / 0.9276 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000882/0.6844, allocations: 0.5057 MB / 0.9281 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.6877, allocations: 0.5294 MB / 0.9286 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.6913, allocations: 2.285 MB / 0.9308 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.692, allocations: 1.058 MB / 0.9318 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001203/0.6932, allocations: 272 kB / 0.9321 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.6935, allocations: 83.41 kB / 0.9322 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.6935, allocations: 4 kB / 0.9322 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of Templates: time 0.03428/0.7278, allocations: 21.29 MB / 0.953 GB, free: 1.473 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)