Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 297.4 MB / 312.6 MB, free: 2.953 MB / 234.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.0009942/0.0009943, allocations: 184.9 kB / 382.3 MB, free: 14.84 MB / 314.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.352/1.352, allocations: 225.7 MB / 0.6617 GB, free: 7.238 MB / 490.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.0008663/0.0008664, allocations: 100.1 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 8 kB / 0.9058 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5827, allocations: 119.2 MB / 1.022 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001482/0.5843, allocations: 1.158 MB / 1.023 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006952/0.585, allocations: 0.6157 MB / 1.024 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.585, allocations: 0 / 1.024 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.585, allocations: 7.875 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.5851, allocations: 2.406 kB / 1.024 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.5854, allocations: 79.83 kB / 1.024 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.219e-05/0.5855, allocations: 30.19 kB / 1.024 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.5855, allocations: 3.281 kB / 1.024 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.5856, allocations: 4.047 kB / 1.024 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.5856, allocations: 18.72 kB / 1.024 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.5856, allocations: 1.562 kB / 1.024 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.586, allocations: 265 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.586, allocations: 9.234 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.5861, allocations: 33.94 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.5863, allocations: 102.8 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5863, allocations: 4.438 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5863, allocations: 0.5 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.5863, allocations: 1.406 kB / 1.025 GB, free: 56.16 MB / 0.698 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.0003382/0.5866, allocations: 360.4 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.5867, allocations: 13.12 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.5867, allocations: 4.094 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.235e-05/0.5868, allocations: 175.2 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.5868, allocations: 1.531 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.5868, allocations: 3.406 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.587, allocations: 54.33 kB / 1.025 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.587, allocations: 1.219 kB / 1.025 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.587, allocations: 4.594 kB / 1.025 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.587, allocations: 1.469 kB / 1.025 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.5872, allocations: 46.11 kB / 1.025 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.5874, allocations: 254.5 kB / 1.025 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.5875, allocations: 48.06 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.5876, allocations: 25.83 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/0.5881, allocations: 464.6 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.5882, allocations: 33.66 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5882, allocations: 0.5 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003255/0.5885, allocations: 103.2 kB / 1.026 GB, free: 54.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.723e-05/0.5885, allocations: 52.75 kB / 1.026 GB, free: 54.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.738e-05/0.5886, allocations: 108.9 kB / 1.026 GB, free: 54.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.5886, allocations: 27.02 kB / 1.026 GB, free: 54.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.5886, allocations: 83.05 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.5886, allocations: 9.781 kB / 1.026 GB, free: 54.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.5886, allocations: 0 / 1.026 GB, free: 54.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.5887, allocations: 314.1 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.5888, allocations: 24.95 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.5889, allocations: 23.39 kB / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.589, allocations: 51.69 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.589, allocations: 0.9688 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.5892, allocations: 89.25 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.5892, allocations: 9.5 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.5892, allocations: 0 / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.5892, allocations: 0.875 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.5893, allocations: 11.81 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5893, allocations: 4.031 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.5894, allocations: 20.97 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.5894, allocations: 0 / 1.027 GB, free: 53.98 MB / 0.698 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.037e-05/0.5894, allocations: 113.2 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.5895, allocations: 2.453 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.5897, allocations: 95.88 kB / 1.027 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5897, allocations: 0 / 1.027 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5897, allocations: 1.344 kB / 1.027 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.5897, allocations: 0 / 1.027 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.5898, allocations: 160.9 kB / 1.027 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5898, allocations: 2.297 kB / 1.027 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.5899, allocations: 10.55 kB / 1.027 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5899, allocations: 5.062 kB / 1.027 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.5899, allocations: 4 kB / 1.027 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5899, allocations: 1.344 kB / 1.027 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5899, allocations: 2.109 kB / 1.027 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.5901, allocations: 174.7 kB / 1.027 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.5901, allocations: 82.86 kB / 1.027 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.5902, allocations: 7.062 kB / 1.027 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.5902, allocations: 12.88 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.5903, allocations: 2.484 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.5903, allocations: 1.688 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.322e-05/0.5903, allocations: 84.27 kB / 1.028 GB, free: 53.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5903, allocations: 4 kB / 1.028 GB, free: 53.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002474/0.5906, allocations: 16.89 kB / 1.028 GB, free: 53.28 MB / 0.698 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.0001282/0.5907, allocations: 114.8 kB / 1.028 GB, free: 53.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.5909, allocations: 47.47 kB / 1.028 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5909, allocations: 0 / 1.028 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.591, allocations: 27.72 kB / 1.028 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.5912, allocations: 7.781 kB / 1.028 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.5914, allocations: 126.4 kB / 1.028 GB, free: 53.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.101e-05/0.5915, allocations: 0.6783 MB / 1.029 GB, free: 52.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.5916, allocations: 2.844 kB / 1.029 GB, free: 52.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.5916, allocations: 11.38 kB / 1.029 GB, free: 52.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5916, allocations: 0 / 1.029 GB, free: 52.35 MB / 0.698 GB Notification: Performance of Templates: time 0.002106/0.5937, allocations: 0.6287 MB / 1.029 GB, free: 52.3 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)