Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7592/0.7592, allocations: 143.8 MB / 159.1 MB, free: 6.5 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.001377/0.001377, allocations: 190.1 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.434/1.434, allocations: 225.7 MB / 450.4 MB, free: 4.941 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.0008708/0.0008709, allocations: 99.56 kB / 0.5211 GB, free: 1.617 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.001627/0.001627, allocations: 277.5 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.000423, allocations: 17.66 kB / 0.6948 GB, free: 59.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 82.45 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001854/0.1448, allocations: 1.158 MB / 0.7764 GB, free: 13.19 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.1458, allocations: 0.6117 MB / 0.777 GB, free: 12.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.1458, allocations: 8 kB / 0.777 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.1459, allocations: 0 / 0.777 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.1459, allocations: 3.938 kB / 0.777 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.1463, allocations: 83.77 kB / 0.7771 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1464, allocations: 27.86 kB / 0.7771 GB, free: 12.4 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1465, allocations: 7.984 kB / 0.7772 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.1465, allocations: 4 kB / 0.7772 GB, free: 12.39 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.1466, allocations: 19.92 kB / 0.7772 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1466, allocations: 0 / 0.7772 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.147, allocations: 263.7 kB / 0.7774 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.147, allocations: 4 kB / 0.7774 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.1471, allocations: 37.62 kB / 0.7775 GB, free: 12.06 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1473, allocations: 104 kB / 0.7776 GB, free: 11.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1473, allocations: 0 / 0.7776 GB, free: 11.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1473, allocations: 0 / 0.7776 GB, free: 11.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1473, allocations: 4 kB / 0.7776 GB, free: 11.96 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.0005/0.1478, allocations: 363.4 kB / 0.7779 GB, free: 11.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1478, allocations: 8.031 kB / 0.7779 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.1479, allocations: 4.938 kB / 0.7779 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.148, allocations: 176.2 kB / 0.7781 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.148, allocations: 8.312 kB / 0.7781 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1481, allocations: 384 / 0.7781 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1483, allocations: 58.23 kB / 0.7782 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1483, allocations: 192 / 0.7782 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1483, allocations: 3.938 kB / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1483, allocations: 0 / 0.7782 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1485, allocations: 47.95 kB / 0.7782 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1488, allocations: 256.9 kB / 0.7785 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.149, allocations: 42.5 kB / 0.7785 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.1491, allocations: 28.91 kB / 0.7785 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006359/0.1497, allocations: 465.5 kB / 0.779 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1498, allocations: 34.56 kB / 0.779 GB, free: 10.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.1498, allocations: 0 / 0.779 GB, free: 10.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003864/0.1502, allocations: 101.7 kB / 0.7791 GB, free: 10.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1502, allocations: 55.41 kB / 0.7792 GB, free: 10.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.1503, allocations: 101.9 kB / 0.7792 GB, free: 9.953 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1503, allocations: 29.69 kB / 0.7793 GB, free: 9.918 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.1504, allocations: 84.08 kB / 0.7794 GB, free: 9.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1504, allocations: 7.906 kB / 0.7794 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.1504, allocations: 0 / 0.7794 GB, free: 9.824 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1505, allocations: 314.8 kB / 0.7797 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.431e-05/0.1506, allocations: 23.98 kB / 0.7797 GB, free: 9.484 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.1507, allocations: 23.97 kB / 0.7797 GB, free: 9.461 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1509, allocations: 48.89 kB / 0.7798 GB, free: 9.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1509, allocations: 0 / 0.7798 GB, free: 9.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.1511, allocations: 93.47 kB / 0.7798 GB, free: 9.312 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1511, allocations: 8.031 kB / 0.7799 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1511, allocations: 0 / 0.7799 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1511, allocations: 0 / 0.7799 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.1512, allocations: 11.98 kB / 0.7799 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1512, allocations: 0 / 0.7799 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.1513, allocations: 11.91 kB / 0.7799 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.1513, allocations: 0 / 0.7799 GB, free: 9.281 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 (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 8.331e-05/0.1514, allocations: 121.8 kB / 0.78 GB, free: 9.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1514, allocations: 3.938 kB / 0.78 GB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.1517, allocations: 85.12 kB / 0.7801 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1517, allocations: 0 / 0.7801 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1517, allocations: 32 / 0.7801 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1517, allocations: 8 kB / 0.7801 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1519, allocations: 161.6 kB / 0.7802 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1519, allocations: 0 / 0.7802 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.1519, allocations: 12 kB / 0.7803 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1519, allocations: 0 / 0.7803 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.152, allocations: 3.984 kB / 0.7803 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.152, allocations: 256 / 0.7803 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.152, allocations: 4 kB / 0.7803 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1522, allocations: 179.4 kB / 0.7804 GB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.1523, allocations: 81.02 kB / 0.7805 GB, free: 8.531 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1523, allocations: 8 kB / 0.7805 GB, free: 8.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1524, allocations: 8.031 kB / 0.7805 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.1524, allocations: 7.984 kB / 0.7805 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1524, allocations: 0 / 0.7805 GB, free: 8.508 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.1525, allocations: 83.22 kB / 0.7806 GB, free: 8.426 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1525, allocations: 0 / 0.7806 GB, free: 8.426 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.1527, allocations: 20 kB / 0.7806 GB, free: 8.406 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 (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.0001899/0.1529, allocations: 115.2 kB / 0.7807 GB, free: 8.285 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1531, allocations: 47.97 kB / 0.7808 GB, free: 8.238 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1531, allocations: 0 / 0.7808 GB, free: 8.238 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.1532, allocations: 27.97 kB / 0.7808 GB, free: 8.211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.1535, allocations: 18.39 kB / 0.7808 GB, free: 8.195 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.1538, allocations: 120.6 kB / 0.7809 GB, free: 8.051 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.154, allocations: 0.677 MB / 0.7816 GB, free: 7.348 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.436e-05/0.1541, allocations: 3.984 kB / 0.7816 GB, free: 7.344 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.1541, allocations: 7.438 kB / 0.7816 GB, free: 7.336 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1541, allocations: 4 kB / 0.7816 GB, free: 7.332 MB / 458.7 MB Notification: Performance of Templates: time 0.002406/0.1565, allocations: 0.6273 MB / 0.7822 GB, free: 6.707 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)