Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 180.6 kB / 16.08 MB, free: 5.188 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.4528/0.4528, allocations: 89.06 MB / 105.9 MB, free: 12.4 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.265/1.265, allocations: 225.7 MB / 353.2 MB, free: 1.074 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.0007677/0.0007678, allocations: 93 kB / 425.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002803, allocations: 11.98 kB / 0.4955 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2789, allocations: 71.33 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001293/0.2802, allocations: 1.144 MB / 0.5663 GB, free: 41.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.2808, allocations: 0.6203 MB / 0.5669 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.2809, allocations: 1.5 kB / 0.5669 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.2809, allocations: 3.938 kB / 0.5669 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.2809, allocations: 0 / 0.5669 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.2812, allocations: 77.62 kB / 0.567 GB, free: 40.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.2813, allocations: 23.92 kB / 0.567 GB, free: 40.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.2813, allocations: 4.812 kB / 0.567 GB, free: 40.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.273e-05/0.2814, allocations: 15.92 kB / 0.567 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.793e-05/0.2814, allocations: 4.641 kB / 0.567 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.2814, allocations: 4 kB / 0.567 GB, free: 40.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.2817, allocations: 264.3 kB / 0.5673 GB, free: 40.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.2817, allocations: 12.89 kB / 0.5673 GB, free: 40.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.2817, allocations: 33.64 kB / 0.5673 GB, free: 40.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.2819, allocations: 103.8 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2819, allocations: 1.625 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2819, allocations: 0 / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.2819, allocations: 3.938 kB / 0.5674 GB, free: 39.94 MB / 410.7 MB 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.0003589/0.2823, allocations: 369.5 kB / 0.5678 GB, free: 39.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.2823, allocations: 8.031 kB / 0.5678 GB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.2824, allocations: 8.922 kB / 0.5678 GB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/0.2824, allocations: 176.2 kB / 0.568 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2825, allocations: 384 / 0.568 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.2825, allocations: 4.375 kB / 0.568 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.2826, allocations: 58.23 kB / 0.568 GB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2827, allocations: 192 / 0.568 GB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.2827, allocations: 3.938 kB / 0.568 GB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2827, allocations: 0 / 0.568 GB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.2828, allocations: 39.97 kB / 0.5681 GB, free: 39.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.2831, allocations: 260.9 kB / 0.5683 GB, free: 38.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2832, allocations: 42.5 kB / 0.5684 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.2832, allocations: 36.89 kB / 0.5684 GB, free: 38.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/0.2837, allocations: 453.5 kB / 0.5688 GB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.2838, allocations: 34.56 kB / 0.5689 GB, free: 38.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2838, allocations: 4 kB / 0.5689 GB, free: 38.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003077/0.2841, allocations: 101.7 kB / 0.569 GB, free: 38.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.604e-05/0.2841, allocations: 51.41 kB / 0.569 GB, free: 38.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.717e-05/0.2842, allocations: 109.8 kB / 0.5691 GB, free: 37.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.2842, allocations: 25.7 kB / 0.5692 GB, free: 37.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.2842, allocations: 92.05 kB / 0.5692 GB, free: 37.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.2842, allocations: 0 / 0.5692 GB, free: 37.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.2842, allocations: 0 / 0.5692 GB, free: 37.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.2843, allocations: 318.8 kB / 0.5695 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.211e-05/0.2843, allocations: 28.02 kB / 0.5696 GB, free: 37.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/0.2844, allocations: 15.98 kB / 0.5696 GB, free: 37.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.2845, allocations: 60.88 kB / 0.5696 GB, free: 37.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2845, allocations: 0 / 0.5696 GB, free: 37.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001666/0.2847, allocations: 85.45 kB / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.2847, allocations: 4 kB / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2847, allocations: 4 kB / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2848, allocations: 0 / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.2848, allocations: 11.98 kB / 0.5697 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2849, allocations: 0 / 0.5697 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.2849, allocations: 7.984 kB / 0.5698 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2849, allocations: 4 kB / 0.5698 GB, free: 37.26 MB / 410.7 MB 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.125e-05/0.285, allocations: 117.8 kB / 0.5699 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.285, allocations: 4 kB / 0.5699 GB, free: 37.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.2852, allocations: 85.12 kB / 0.57 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2852, allocations: 4.031 kB / 0.57 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2852, allocations: 3.938 kB / 0.57 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2852, allocations: 0 / 0.57 GB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.713e-05/0.2853, allocations: 165.6 kB / 0.5701 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2853, allocations: 0 / 0.5701 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.2854, allocations: 11.98 kB / 0.5701 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2854, allocations: 0 / 0.5701 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2854, allocations: 0 / 0.5701 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2854, allocations: 0 / 0.5701 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2854, allocations: 0 / 0.5701 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.2856, allocations: 183.4 kB / 0.5703 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.2856, allocations: 77.11 kB / 0.5704 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.2856, allocations: 0 / 0.5704 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.2857, allocations: 16.02 kB / 0.5704 GB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.2857, allocations: 3.938 kB / 0.5704 GB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2858, allocations: 0 / 0.5704 GB, free: 36.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.18e-05/0.2858, allocations: 95.52 kB / 0.5705 GB, free: 36.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2858, allocations: 0 / 0.5705 GB, free: 36.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.286, allocations: 12 kB / 0.5705 GB, free: 36.39 MB / 410.7 MB 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.0001526/0.2861, allocations: 119.2 kB / 0.5706 GB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.2864, allocations: 51.95 kB / 0.5707 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2864, allocations: 0 / 0.5707 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.2865, allocations: 28.05 kB / 0.5707 GB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2867, allocations: 11.84 kB / 0.5707 GB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.2869, allocations: 116.6 kB / 0.5708 GB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.287, allocations: 0.677 MB / 0.5715 GB, free: 35.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.086e-05/0.287, allocations: 0 / 0.5715 GB, free: 35.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.2871, allocations: 11.44 kB / 0.5715 GB, free: 35.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2871, allocations: 4.062 kB / 0.5715 GB, free: 35.32 MB / 410.7 MB Notification: Performance of Templates: time 0.002077/0.2892, allocations: 0.635 MB / 0.5721 GB, free: 34.69 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)