Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.941/1.941, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001054/0.001054, allocations: 187.2 kB / 393.1 MB, free: 4.086 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.305/1.305, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008309/0.0008309, allocations: 95.5 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.0003177, allocations: 12 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5376, allocations: 121.3 MB / 1.041 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001546/0.5392, allocations: 1.161 MB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002948/0.5395, allocations: 166.4 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.5395, allocations: 4.875 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.5396, allocations: 2.719 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.5396, allocations: 7.922 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.5398, allocations: 12.02 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.5398, allocations: 25.59 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.5399, allocations: 7.781 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.54, allocations: 7.453 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.54, allocations: 13.42 kB / 1.042 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.54, allocations: 1.375 kB / 1.042 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.708e-05/0.5401, allocations: 10.48 kB / 1.042 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.5401, allocations: 10.38 kB / 1.042 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.5402, allocations: 36.38 kB / 1.042 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.5403, allocations: 32.23 kB / 1.042 GB, free: 57.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5403, allocations: 0.7812 kB / 1.042 GB, free: 57.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5403, allocations: 0 / 1.042 GB, free: 57.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5403, allocations: 1 kB / 1.042 GB, free: 57.08 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.0003744/0.5407, allocations: 345.4 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5408, allocations: 9.625 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.5409, allocations: 15.36 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.541, allocations: 174.9 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.541, allocations: 1.5 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.5411, allocations: 5.75 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.5413, allocations: 66.41 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5413, allocations: 0.8438 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5413, allocations: 13.25 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5413, allocations: 5.078 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.5415, allocations: 61.38 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.5419, allocations: 261.5 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.5421, allocations: 65.2 kB / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.5422, allocations: 42.88 kB / 1.043 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.5422, allocations: 0 / 1.043 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.5422, allocations: 34.56 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5422, allocations: 0.75 kB / 1.043 GB, free: 56.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004018/0.5426, allocations: 122 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.5427, allocations: 56.41 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.5427, allocations: 106.1 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.5428, allocations: 29.7 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.5428, allocations: 85.7 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.5428, allocations: 2.406 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.5428, allocations: 0 / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.5429, allocations: 322.6 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.543, allocations: 32.97 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/0.5431, allocations: 28.8 kB / 1.044 GB, free: 55.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.5433, allocations: 68.28 kB / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5433, allocations: 0 / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002292/0.5435, allocations: 107.2 kB / 1.044 GB, free: 55.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5436, allocations: 9.125 kB / 1.044 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5436, allocations: 5.172 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5436, allocations: 0 / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.5437, allocations: 16.17 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.5437, allocations: 0 / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.5438, allocations: 14.92 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.5438, allocations: 0.7031 kB / 1.044 GB, free: 55.35 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 5.712e-05/0.5439, allocations: 119 kB / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.5439, allocations: 4.469 kB / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.5439, allocations: 4.562 kB / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.5439, allocations: 0 / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5439, allocations: 3.891 kB / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5439, allocations: 1.172 kB / 1.044 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.5441, allocations: 169.2 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5441, allocations: 5.281 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.5442, allocations: 18.77 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.5442, allocations: 0 / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5442, allocations: 0 / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5442, allocations: 2.438 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5442, allocations: 0 / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.5445, allocations: 198.5 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.5445, allocations: 77.86 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.5445, allocations: 1.594 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.5446, allocations: 15.17 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.5446, allocations: 6.875 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.5447, allocations: 5.312 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.5447, allocations: 84.95 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5447, allocations: 0 / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001892/0.5449, allocations: 5.781 kB / 1.045 GB, free: 54.68 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 8.978e-05/0.545, allocations: 100.2 kB / 1.045 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.5452, allocations: 68.53 kB / 1.045 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5453, allocations: 0 / 1.045 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.5454, allocations: 39.98 kB / 1.045 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.0002539/0.5456, allocations: 11.75 kB / 1.045 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.5459, allocations: 136.6 kB / 1.045 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.5461, allocations: 0.6787 MB / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.5461, allocations: 3.312 kB / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.5461, allocations: 7.438 kB / 1.046 GB, free: 53.74 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.5461, allocations: 0 / 1.046 GB, free: 53.74 MB / 0.698 GB Notification: Performance of Templates: time 0.00216/0.5483, allocations: 0.4953 MB / 1.047 GB, free: 53.69 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)