Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.246/1.246, allocations: 255.9 MB / 271.2 MB, free: 8.91 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.0009382/0.0009383, allocations: 186.4 kB / 330.8 MB, free: 492 kB / 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 1.376/1.376, allocations: 225.7 MB / 0.6016 GB, free: 1.586 MB / 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.0007579/0.0007584, allocations: 99.5 kB / 0.709 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 12.78 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 109.2 MB / 0.9327 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001186/0.1588, allocations: 1.162 MB / 0.9339 GB, free: 5.102 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0005972/0.1595, allocations: 0.6165 MB / 0.9345 GB, free: 4.426 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.1595, allocations: 4 kB / 0.9345 GB, free: 4.422 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.1595, allocations: 0 / 0.9345 GB, free: 4.422 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.1596, allocations: 3.938 kB / 0.9345 GB, free: 4.418 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1599, allocations: 75.84 kB / 0.9346 GB, free: 4.344 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 5.094e-05/0.1599, allocations: 31.86 kB / 0.9346 GB, free: 4.312 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.154e-05/0.16, allocations: 0 / 0.9346 GB, free: 4.312 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.417e-05/0.16, allocations: 4 kB / 0.9346 GB, free: 4.309 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.1601, allocations: 19.92 kB / 0.9346 GB, free: 4.289 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.1601, allocations: 0 / 0.9346 GB, free: 4.289 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.1604, allocations: 267.7 kB / 0.9349 GB, free: 4.027 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.1604, allocations: 4 kB / 0.9349 GB, free: 4.023 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.1604, allocations: 37.62 kB / 0.9349 GB, free: 3.98 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1606, allocations: 103.8 kB / 0.935 GB, free: 3.879 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1606, allocations: 4 kB / 0.935 GB, free: 3.875 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1606, allocations: 0 / 0.935 GB, free: 3.875 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1606, allocations: 0 / 0.935 GB, free: 3.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003364/0.1609, allocations: 359.8 kB / 0.9354 GB, free: 3.473 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.161, allocations: 15.98 kB / 0.9354 GB, free: 3.457 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.161, allocations: 8.844 kB / 0.9354 GB, free: 3.449 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.875e-05/0.1611, allocations: 168.4 kB / 0.9355 GB, free: 3.246 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1611, allocations: 384 / 0.9355 GB, free: 3.246 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1611, allocations: 384 / 0.9355 GB, free: 3.246 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1613, allocations: 62.12 kB / 0.9356 GB, free: 3.18 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1613, allocations: 4.172 kB / 0.9356 GB, free: 3.176 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1613, allocations: 3.938 kB / 0.9356 GB, free: 3.172 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1613, allocations: 4 kB / 0.9356 GB, free: 3.168 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1614, allocations: 39.97 kB / 0.9357 GB, free: 3.129 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1617, allocations: 256.9 kB / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1618, allocations: 50.48 kB / 0.9359 GB, free: 2.77 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.1619, allocations: 24.91 kB / 0.936 GB, free: 2.742 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004734/0.1623, allocations: 473.3 kB / 0.9364 GB, free: 2.188 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.1624, allocations: 34.56 kB / 0.9365 GB, free: 2.145 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1624, allocations: 0 / 0.9365 GB, free: 2.145 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.000308/0.1627, allocations: 101.7 kB / 0.9366 GB, free: 2.039 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.1627, allocations: 51.41 kB / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.436e-05/0.1628, allocations: 105.8 kB / 0.9367 GB, free: 1.863 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.1628, allocations: 25.7 kB / 0.9367 GB, free: 1.832 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/0.1628, allocations: 80.14 kB / 0.9368 GB, free: 1.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.1628, allocations: 11.84 kB / 0.9368 GB, free: 1.738 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.1628, allocations: 0 / 0.9368 GB, free: 1.738 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.1629, allocations: 314.8 kB / 0.9371 GB, free: 1.422 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.1629, allocations: 28 kB / 0.9371 GB, free: 1.395 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.163, allocations: 23.92 kB / 0.9372 GB, free: 1.371 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1631, allocations: 48.89 kB / 0.9372 GB, free: 1.32 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1632, allocations: 0 / 0.9372 GB, free: 1.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.1633, allocations: 85.62 kB / 0.9373 GB, free: 1.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1634, allocations: 8 kB / 0.9373 GB, free: 1.223 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1634, allocations: 0 / 0.9373 GB, free: 1.223 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1634, allocations: 0 / 0.9373 GB, free: 1.223 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.1635, allocations: 11.98 kB / 0.9373 GB, free: 1.211 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1635, allocations: 0 / 0.9373 GB, free: 1.211 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.1635, allocations: 11.98 kB / 0.9373 GB, free: 1.199 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1635, allocations: 0 / 0.9373 GB, free: 1.199 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 4.099e-05/0.1636, allocations: 124.3 kB / 0.9374 GB, free: 1.07 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1636, allocations: 3.906 kB / 0.9374 GB, free: 1.066 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.1638, allocations: 81.19 kB / 0.9375 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1638, allocations: 3.938 kB / 0.9375 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1638, allocations: 8.031 kB / 0.9375 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1638, allocations: 0 / 0.9375 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.1639, allocations: 165.6 kB / 0.9377 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1639, allocations: 0 / 0.9377 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.164, allocations: 16.23 kB / 0.9377 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.164, allocations: 0 / 0.9377 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.164, allocations: 8 kB / 0.9377 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.164, allocations: 0 / 0.9377 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.164, allocations: 0 / 0.9377 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.1642, allocations: 175.4 kB / 0.9379 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.1642, allocations: 81.11 kB / 0.938 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1642, allocations: 4 kB / 0.938 GB, free: 456 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.1643, allocations: 12.02 kB / 0.938 GB, free: 444 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1643, allocations: 4 kB / 0.938 GB, free: 440 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1644, allocations: 0 / 0.938 GB, free: 440 kB / 0.573 GB Notification: Performance of sorting global known variables: time 1.915e-05/0.1644, allocations: 83.22 kB / 0.9381 GB, free: 356 kB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.1644, allocations: 0 / 0.9381 GB, free: 356 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001913/0.1646, allocations: 19.98 kB / 0.9381 GB, free: 336 kB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000118/0.1647, allocations: 115.8 kB / 0.9382 GB, free: 208 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1649, allocations: 55.89 kB / 0.9382 GB, free: 152 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1649, allocations: 0 / 0.9382 GB, free: 152 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.165, allocations: 28.05 kB / 0.9383 GB, free: 124 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1652, allocations: 7.844 kB / 0.9383 GB, free: 116 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.1654, allocations: 123.9 kB / 0.9384 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1657, allocations: 0.6809 MB / 0.9391 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.1657, allocations: 3.984 kB / 0.9391 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.1657, allocations: 11.44 kB / 0.9391 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of SimCode: time 3.41e-07/0.1657, allocations: 4.062 kB / 0.9391 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of Templates: time 0.002181/0.1679, allocations: 0.622 MB / 0.9397 GB, free: 14.62 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)