Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.3/2.3, allocations: 255 MB / 269.9 MB, free: 9.645 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.001858/0.001858, allocations: 184.5 kB / 329.5 MB, free: 1.184 MB / 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 2.239/2.239, allocations: 225.6 MB / 0.6001 GB, free: 0.5586 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.0009543/0.0009544, allocations: 98.16 kB / 0.7074 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 11.97 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1992, allocations: 109.1 MB / 0.9308 GB, free: 24.96 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001618/0.2009, allocations: 1.15 MB / 0.9319 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007236/0.2016, allocations: 356 kB / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.2017, allocations: 0 / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.2017, allocations: 3.938 kB / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.2018, allocations: 0 / 0.9322 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.2022, allocations: 71.84 kB / 0.9323 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.2023, allocations: 27.92 kB / 0.9323 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.2024, allocations: 7.938 kB / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.2024, allocations: 15.92 kB / 0.9323 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.2025, allocations: 11.92 kB / 0.9323 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2025, allocations: 0 / 0.9323 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.203, allocations: 275.6 kB / 0.9326 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.203, allocations: 0 / 0.9326 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.203, allocations: 25.7 kB / 0.9326 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.2032, allocations: 67.88 kB / 0.9327 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2032, allocations: 0 / 0.9327 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2032, allocations: 0 / 0.9327 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2032, allocations: 0 / 0.9327 GB, free: 22.95 MB / 0.5886 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.0004577/0.2037, allocations: 371.7 kB / 0.9331 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2037, allocations: 8.031 kB / 0.9331 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.2038, allocations: 12.84 kB / 0.9331 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.081e-05/0.2039, allocations: 160.4 kB / 0.9332 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.2039, allocations: 384 / 0.9332 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.204, allocations: 8.312 kB / 0.9332 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2042, allocations: 62.22 kB / 0.9333 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2042, allocations: 192 / 0.9333 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2042, allocations: 3.938 kB / 0.9333 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2042, allocations: 0 / 0.9333 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.2045, allocations: 47.95 kB / 0.9333 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.2048, allocations: 249 kB / 0.9336 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.205, allocations: 50.42 kB / 0.9336 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2052, allocations: 28.91 kB / 0.9337 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.2063, allocations: 465.5 kB / 0.9341 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2064, allocations: 30.56 kB / 0.9341 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.422e-06/0.2064, allocations: 0 / 0.9341 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0008129/0.2072, allocations: 105.7 kB / 0.9342 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2073, allocations: 51.41 kB / 0.9343 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.2074, allocations: 105.8 kB / 0.9344 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.2074, allocations: 25.7 kB / 0.9344 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.2075, allocations: 96.03 kB / 0.9345 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2075, allocations: 7.922 kB / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.2075, allocations: 0 / 0.9345 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.2076, allocations: 314.9 kB / 0.9348 GB, free: 20.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2078, allocations: 23.98 kB / 0.9348 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.2079, allocations: 19.97 kB / 0.9348 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.2081, allocations: 28.05 kB / 0.9349 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2081, allocations: 0 / 0.9349 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003459/0.2084, allocations: 81.52 kB / 0.935 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2085, allocations: 7.984 kB / 0.935 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2085, allocations: 4.031 kB / 0.935 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2085, allocations: 0 / 0.935 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.2086, allocations: 8 kB / 0.935 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2087, allocations: 0 / 0.935 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.2087, allocations: 19.92 kB / 0.935 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.2088, allocations: 3.938 kB / 0.935 GB, free: 20.29 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.2088, allocations: 113.8 kB / 0.9351 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.2089, allocations: 4 kB / 0.9351 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.2093, allocations: 85.17 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2093, allocations: 0 / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2093, allocations: 0 / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2093, allocations: 8.031 kB / 0.9352 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.2095, allocations: 157.6 kB / 0.9353 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2095, allocations: 0 / 0.9353 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.2096, allocations: 11.98 kB / 0.9354 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2096, allocations: 0 / 0.9354 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2096, allocations: 256 / 0.9354 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2096, allocations: 4 kB / 0.9354 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2096, allocations: 4 kB / 0.9354 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.21, allocations: 183.3 kB / 0.9355 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.21, allocations: 81.11 kB / 0.9356 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.2101, allocations: 3.984 kB / 0.9356 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2102, allocations: 11.97 kB / 0.9356 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.2102, allocations: 4 kB / 0.9356 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2103, allocations: 3.984 kB / 0.9356 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.2103, allocations: 83.28 kB / 0.9357 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2103, allocations: 0 / 0.9357 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003199/0.2106, allocations: 16 kB / 0.9357 GB, free: 19.43 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.2108, allocations: 111.8 kB / 0.9358 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.2112, allocations: 55.91 kB / 0.9359 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2112, allocations: 0 / 0.9359 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.2113, allocations: 19.98 kB / 0.9359 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2117, allocations: 20.05 kB / 0.9359 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.212, allocations: 108.7 kB / 0.936 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2121, allocations: 0.677 MB / 0.9367 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.2122, allocations: 4 kB / 0.9367 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.2122, allocations: 7.438 kB / 0.9367 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.2122, allocations: 0 / 0.9367 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of Templates: time 0.00326/0.2155, allocations: 0.6446 MB / 0.9373 GB, free: 17.73 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)