Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.675/1.675, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.00107/0.00107, allocations: 191.2 kB / 393.1 MB, free: 4.082 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.401/1.401, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008865/0.0008865, allocations: 91.31 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 19.98 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.553, allocations: 121.3 MB / 1.041 GB, free: 58.78 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006721/0.5537, allocations: 322.2 kB / 1.041 GB, free: 58.64 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006391/0.5544, allocations: 0.562 MB / 1.042 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-06/0.5544, allocations: 1.719 kB / 1.042 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.5544, allocations: 0 / 1.042 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.5545, allocations: 0 / 1.042 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.5548, allocations: 73.59 kB / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.075e-05/0.5548, allocations: 6.359 kB / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.5549, allocations: 0 / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.22e-05/0.5549, allocations: 1.781 kB / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.013e-05/0.5549, allocations: 0.5312 kB / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.193e-06/0.5549, allocations: 1 kB / 1.042 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.5553, allocations: 265.5 kB / 1.042 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.5553, allocations: 0 / 1.042 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.5554, allocations: 27.67 kB / 1.042 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.5556, allocations: 88.98 kB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.5556, allocations: 0.6562 kB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5556, allocations: 0 / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.5556, allocations: 0.9062 kB / 1.042 GB, free: 58 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.0002267/0.5558, allocations: 336.9 kB / 1.043 GB, free: 57.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5559, allocations: 8.25 kB / 1.043 GB, free: 57.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.5559, allocations: 2.312 kB / 1.043 GB, free: 57.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.157e-05/0.556, allocations: 160.9 kB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.556, allocations: 1.156 kB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.556, allocations: 1.75 kB / 1.043 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.513e-05/0.5561, allocations: 29.92 kB / 1.043 GB, free: 57.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5561, allocations: 5.5 kB / 1.043 GB, free: 57.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.5561, allocations: 5.109 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5561, allocations: 0 / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.5562, allocations: 1.891 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.5563, allocations: 151.9 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.949e-05/0.5563, allocations: 22.39 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.5563, allocations: 4.859 kB / 1.043 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000408/0.5568, allocations: 432.9 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.5568, allocations: 31.94 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5568, allocations: 0 / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.5569, allocations: 40.62 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.557, allocations: 51.97 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.908e-05/0.557, allocations: 93.92 kB / 1.044 GB, free: 56.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.557, allocations: 25.7 kB / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.029e-05/0.557, allocations: 84.14 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.5571, allocations: 5.281 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.5571, allocations: 0 / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.5571, allocations: 312.3 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-06/0.5571, allocations: 3.156 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.5571, allocations: 1.375 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/0.5572, allocations: 13.52 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5572, allocations: 0.875 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.598e-05/0.5572, allocations: 30.77 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5573, allocations: 13.59 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5573, allocations: 4 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5573, allocations: 6.75 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.5573, allocations: 6.781 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5574, allocations: 0 / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-06/0.5574, allocations: 0 / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.5574, allocations: 1.156 kB / 1.044 GB, free: 55.96 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.66e-05/0.5574, allocations: 109.1 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.5574, allocations: 0.8125 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.5575, allocations: 48.95 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.5575, allocations: 0 / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5575, allocations: 0 / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5576, allocations: 0 / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.954e-05/0.5576, allocations: 147.2 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5576, allocations: 0.5312 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.5576, allocations: 5.688 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5576, allocations: 1.406 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.5577, allocations: 5.219 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5577, allocations: 0.7969 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5577, allocations: 3.938 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.295e-05/0.5577, allocations: 59.42 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.5578, allocations: 82.52 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.5578, allocations: 4.5 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-06/0.5578, allocations: 2.906 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.5578, allocations: 3.938 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5578, allocations: 1.25 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.657e-05/0.5578, allocations: 80.97 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.5578, allocations: 4 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002049/0.558, allocations: 9.688 kB / 1.045 GB, free: 55.36 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.0001505/0.5582, allocations: 121.3 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.179e-05/0.5583, allocations: 2.5 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5583, allocations: 0 / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.553e-06/0.5583, allocations: 2.719 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.5584, allocations: 4.156 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001282/0.5585, allocations: 81.83 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.5587, allocations: 0.6754 MB / 1.045 GB, free: 54.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.519e-05/0.5587, allocations: 0 / 1.045 GB, free: 54.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-06/0.5587, allocations: 7.438 kB / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5587, allocations: 0 / 1.045 GB, free: 54.46 MB / 0.698 GB Notification: Performance of Templates: time 0.002063/0.5608, allocations: 443.3 kB / 1.046 GB, free: 54.4 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)