Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7718/0.7718, allocations: 143.8 MB / 159.1 MB, free: 6.516 MB / 122.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.001095/0.001095, allocations: 183.2 kB / 192 MB, free: 6.723 MB / 154.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.474/1.474, allocations: 225.7 MB / 450.4 MB, free: 4.977 MB / 330.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.0007499/0.0007499, allocations: 103.5 kB / 0.5211 GB, free: 1.633 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001601/0.001601, allocations: 276.5 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 20.25 kB / 0.6948 GB, free: 59.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006341/0.1407, allocations: 318.5 kB / 0.7756 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003145/0.141, allocations: 175.4 kB / 0.7758 GB, free: 13.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-06/0.1411, allocations: 0 / 0.7758 GB, free: 13.86 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.1411, allocations: 0 / 0.7758 GB, free: 13.86 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/0.1411, allocations: 4 kB / 0.7758 GB, free: 13.85 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1413, allocations: 15.97 kB / 0.7758 GB, free: 13.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 3.653e-05/0.1413, allocations: 4 kB / 0.7758 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.1414, allocations: 4 kB / 0.7758 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.1414, allocations: 0 / 0.7758 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.1415, allocations: 11.92 kB / 0.7758 GB, free: 13.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1415, allocations: 0 / 0.7758 GB, free: 13.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.1415, allocations: 19.92 kB / 0.7758 GB, free: 13.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.1416, allocations: 0 / 0.7758 GB, free: 13.8 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.1416, allocations: 29.7 kB / 0.7759 GB, free: 13.76 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.341e-05/0.1417, allocations: 15.97 kB / 0.7759 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1417, allocations: 4 kB / 0.7759 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1417, allocations: 3.938 kB / 0.7759 GB, free: 13.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1417, allocations: 3.938 kB / 0.7759 GB, free: 13.73 MB / 458.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.0003266/0.142, allocations: 319.6 kB / 0.7762 GB, free: 13.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1421, allocations: 8.031 kB / 0.7762 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1422, allocations: 8.922 kB / 0.7762 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.1423, allocations: 160.7 kB / 0.7764 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1423, allocations: 12.38 kB / 0.7764 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.1424, allocations: 384 / 0.7764 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1425, allocations: 34.25 kB / 0.7764 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1425, allocations: 192 / 0.7764 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1425, allocations: 3.938 kB / 0.7764 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1425, allocations: 0 / 0.7764 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.1426, allocations: 19.92 kB / 0.7764 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1427, allocations: 157.6 kB / 0.7766 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.1429, allocations: 42.59 kB / 0.7766 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.1429, allocations: 12.92 kB / 0.7766 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1429, allocations: 0 / 0.7766 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.143, allocations: 34.56 kB / 0.7767 GB, free: 12.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.143, allocations: 0 / 0.7767 GB, free: 12.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002006/0.1432, allocations: 65.55 kB / 0.7767 GB, free: 12.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.1432, allocations: 51.41 kB / 0.7768 GB, free: 12.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.198e-05/0.1433, allocations: 89.86 kB / 0.7769 GB, free: 12.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1433, allocations: 25.7 kB / 0.7769 GB, free: 12.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.1433, allocations: 80.14 kB / 0.777 GB, free: 12.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.1433, allocations: 15.81 kB / 0.777 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.1434, allocations: 0 / 0.777 GB, free: 12.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.1435, allocations: 314.8 kB / 0.7773 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.1435, allocations: 8 kB / 0.7773 GB, free: 12.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.1435, allocations: 16.16 kB / 0.7773 GB, free: 12.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.848e-05/0.1436, allocations: 16.86 kB / 0.7773 GB, free: 12.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1436, allocations: 0 / 0.7773 GB, free: 12.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001015/0.1437, allocations: 53.61 kB / 0.7774 GB, free: 12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1437, allocations: 8 kB / 0.7774 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1438, allocations: 0 / 0.7774 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1438, allocations: 3.938 kB / 0.7774 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.1441, allocations: 43.88 kB / 0.7774 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.1453, allocations: 1.313 MB / 0.7787 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.1453, allocations: 4.156 kB / 0.7787 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1453, allocations: 4.031 kB / 0.7787 GB, free: 10.49 MB / 458.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.505e-05/0.1454, allocations: 108.5 kB / 0.7788 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.1454, allocations: 3.938 kB / 0.7788 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.1454, allocations: 7.5 kB / 0.7788 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1454, allocations: 4 kB / 0.7788 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.1455, allocations: 7.938 kB / 0.7789 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.1455, allocations: 0 / 0.7789 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.204e-05/0.1455, allocations: 157.6 kB / 0.779 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1456, allocations: 4 kB / 0.779 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.1459, allocations: 43.92 kB / 0.779 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1459, allocations: 0 / 0.779 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1459, allocations: 0 / 0.779 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.147, allocations: 1.318 MB / 0.7803 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.147, allocations: 0 / 0.7803 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.1471, allocations: 77.08 kB / 0.7804 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.1472, allocations: 81.11 kB / 0.7805 GB, free: 8.461 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-06/0.1472, allocations: 3.938 kB / 0.7805 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.1472, allocations: 96 / 0.7805 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.1472, allocations: 11.98 kB / 0.7805 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1472, allocations: 0 / 0.7805 GB, free: 8.445 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.922e-05/0.1473, allocations: 75.28 kB / 0.7806 GB, free: 8.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1473, allocations: 0 / 0.7806 GB, free: 8.371 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.1474, allocations: 4 kB / 0.7806 GB, free: 8.367 MB / 458.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.1476, allocations: 107.8 kB / 0.7807 GB, free: 8.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.148, allocations: 63.91 kB / 0.7807 GB, free: 8.188 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.148, allocations: 0 / 0.7807 GB, free: 8.188 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.1483, allocations: 43.89 kB / 0.7808 GB, free: 8.145 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1484, allocations: 4 kB / 0.7808 GB, free: 8.141 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.1487, allocations: 94.97 kB / 0.7809 GB, free: 8.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1489, allocations: 0.6731 MB / 0.7815 GB, free: 7.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.036e-05/0.149, allocations: 0 / 0.7815 GB, free: 7.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.149, allocations: 7.438 kB / 0.7815 GB, free: 7.312 MB / 458.7 MB Notification: Performance of SimCode: time 2.8e-07/0.149, allocations: 8 kB / 0.7815 GB, free: 7.305 MB / 458.7 MB Notification: Performance of Templates: time 0.001963/0.151, allocations: 393.2 kB / 0.7819 GB, free: 6.926 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)