Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.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.612/1.612, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.001007/0.001007, allocations: 178.1 kB / 382.3 MB, free: 14.82 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.319/1.319, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0008332/0.0008332, allocations: 94.62 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 12.84 kB / 0.9058 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5775, allocations: 119.2 MB / 1.022 GB, free: 58.03 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007718/0.5784, allocations: 314.4 kB / 1.023 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.5791, allocations: 0.5675 MB / 1.023 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.388e-06/0.5791, allocations: 0 / 1.023 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.5791, allocations: 0.9688 kB / 1.023 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-06/0.5791, allocations: 0 / 1.023 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.5795, allocations: 76.12 kB / 1.023 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.259e-05/0.5795, allocations: 6.422 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.5796, allocations: 2.438 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.5796, allocations: 0 / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.458e-05/0.5796, allocations: 2.438 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.5796, allocations: 0.9062 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.5801, allocations: 268.7 kB / 1.023 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.5801, allocations: 3.938 kB / 1.023 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.5801, allocations: 28.77 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.5803, allocations: 83.09 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5803, allocations: 1.031 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5803, allocations: 0 / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.5804, allocations: 0.5625 kB / 1.024 GB, free: 57.3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002381/0.5806, allocations: 331.1 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5806, allocations: 12 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.5807, allocations: 2.547 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.995e-05/0.5808, allocations: 161.2 kB / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5808, allocations: 5.562 kB / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.5808, allocations: 384 / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.5809, allocations: 30.38 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5809, allocations: 192 / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.5809, allocations: 4.594 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5809, allocations: 5.781 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.581, allocations: 1.156 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.5811, allocations: 146.1 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.466e-05/0.5811, allocations: 21.05 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.5811, allocations: 8.078 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/0.5816, allocations: 428.8 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5816, allocations: 36 kB / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5816, allocations: 0 / 1.025 GB, free: 55.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.5818, allocations: 43.5 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.5818, allocations: 52.06 kB / 1.025 GB, free: 55.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.89e-05/0.5818, allocations: 89.86 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.5818, allocations: 25.7 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.105e-05/0.5818, allocations: 81.52 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.5819, allocations: 5.156 kB / 1.025 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.5819, allocations: 0 / 1.025 GB, free: 55.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.5819, allocations: 321.1 kB / 1.025 GB, free: 55.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.582, allocations: 1 kB / 1.025 GB, free: 55.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.582, allocations: 1.031 kB / 1.025 GB, free: 55.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/0.582, allocations: 14.05 kB / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.582, allocations: 0.7969 kB / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.427e-05/0.5821, allocations: 31.97 kB / 1.025 GB, free: 55.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5821, allocations: 9.219 kB / 1.025 GB, free: 55.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5821, allocations: 2.625 kB / 1.025 GB, free: 55.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5821, allocations: 3.938 kB / 1.025 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.225e-05/0.5822, allocations: 2.625 kB / 1.025 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5822, allocations: 2.25 kB / 1.025 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.5822, allocations: 2.078 kB / 1.025 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.5822, allocations: 0 / 1.025 GB, free: 55.27 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 (1): * Single equations (assignments): 1 * 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.897e-05/0.5823, allocations: 108.5 kB / 1.025 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.5823, allocations: 9.484 kB / 1.025 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.5824, allocations: 48.59 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5824, allocations: 1.609 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5824, allocations: 0 / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5824, allocations: 2.5 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.872e-05/0.5825, allocations: 144.4 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.5825, allocations: 1 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.5825, allocations: 2.516 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.5825, allocations: 2.125 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.5825, allocations: 3.938 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5825, allocations: 3.156 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5825, allocations: 1.406 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.443e-05/0.5826, allocations: 60.44 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.5826, allocations: 79.03 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.5826, allocations: 13.91 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.814e-06/0.5826, allocations: 0 / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.5827, allocations: 0.8438 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.5827, allocations: 2.938 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.256e-05/0.5827, allocations: 79.28 kB / 1.026 GB, free: 54.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.5827, allocations: 0 / 1.026 GB, free: 54.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002375/0.5829, allocations: 10.34 kB / 1.026 GB, free: 54.66 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 (1): * Single equations (assignments): 1 * 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.0001819/0.5831, allocations: 121.2 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.671e-05/0.5832, allocations: 6.469 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5832, allocations: 0 / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.701e-06/0.5832, allocations: 1.656 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.5833, allocations: 3.594 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001498/0.5835, allocations: 75.11 kB / 1.026 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.849e-05/0.5836, allocations: 0.679 MB / 1.027 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.5836, allocations: 6.141 kB / 1.027 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.039e-05/0.5836, allocations: 11.44 kB / 1.027 GB, free: 53.76 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.5836, allocations: 0 / 1.027 GB, free: 53.76 MB / 0.698 GB Notification: Performance of Templates: time 0.002153/0.5858, allocations: 439.8 kB / 1.027 GB, free: 53.71 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)