Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7817/0.7817, allocations: 143.8 MB / 159.1 MB, free: 6.512 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.001143/0.001143, allocations: 182.3 kB / 192 MB, free: 6.734 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.404/1.404, allocations: 225.7 MB / 450.4 MB, free: 4.965 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.0007535/0.0007536, allocations: 103.6 kB / 0.5211 GB, free: 1.629 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.001645/0.001645, allocations: 276.1 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004286, allocations: 16.09 kB / 0.6948 GB, free: 59.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1584, allocations: 82.45 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.0008101/0.1593, allocations: 330.2 kB / 0.7756 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 3.799e-05/0.1594, allocations: 0 / 0.7756 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.23e-05/0.1594, allocations: 0 / 0.7756 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.1594, allocations: 4 kB / 0.7756 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.1594, allocations: 3.938 kB / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.102e-05/0.1595, allocations: 0 / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.588e-05/0.1595, allocations: 3.984 kB / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.1596, allocations: 3.984 kB / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.1596, allocations: 0 / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.796e-05/0.1596, allocations: 0 / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.1596, allocations: 4 kB / 0.7756 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.476e-06/0.1596, allocations: 4 kB / 0.7756 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1597, allocations: 0 / 0.7756 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.1597, allocations: 29.7 kB / 0.7757 GB, free: 14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 4.95e-05/0.1598, allocations: 0 / 0.7757 GB, free: 14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1598, allocations: 0 / 0.7757 GB, free: 14 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.182e-06/0.1598, allocations: 0 / 0.7757 GB, free: 14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.1598, allocations: 3.938 kB / 0.7757 GB, free: 14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002549/0.1601, allocations: 307.6 kB / 0.776 GB, free: 13.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1601, allocations: 8.031 kB / 0.776 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.1601, allocations: 0.9375 kB / 0.776 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.1602, allocations: 168.4 kB / 0.7761 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1603, allocations: 384 / 0.7761 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.1603, allocations: 384 / 0.7761 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.1604, allocations: 34.2 kB / 0.7762 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.1604, allocations: 192 / 0.7762 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1604, allocations: 3.938 kB / 0.7762 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1604, allocations: 0 / 0.7762 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.428e-05/0.1604, allocations: 0 / 0.7762 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.1606, allocations: 157.7 kB / 0.7763 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.322e-05/0.1606, allocations: 22.58 kB / 0.7763 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.1606, allocations: 12.89 kB / 0.7764 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.1607, allocations: 0 / 0.7764 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1607, allocations: 34.56 kB / 0.7764 GB, free: 13.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1607, allocations: 0 / 0.7764 GB, free: 13.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.1608, allocations: 33.64 kB / 0.7764 GB, free: 13.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1609, allocations: 55.53 kB / 0.7765 GB, free: 13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.318e-05/0.1609, allocations: 93.86 kB / 0.7766 GB, free: 12.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1609, allocations: 25.7 kB / 0.7766 GB, free: 12.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/0.1609, allocations: 80.14 kB / 0.7767 GB, free: 12.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.161, allocations: 8.125 kB / 0.7767 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/0.161, allocations: 0 / 0.7767 GB, free: 12.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1611, allocations: 318.8 kB / 0.777 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-06/0.1611, allocations: 0 / 0.777 GB, free: 12.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.1611, allocations: 11.94 kB / 0.777 GB, free: 12.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.1612, allocations: 4.859 kB / 0.777 GB, free: 12.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1612, allocations: 3.938 kB / 0.777 GB, free: 12.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.487e-05/0.1612, allocations: 33.7 kB / 0.777 GB, free: 12.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1612, allocations: 4 kB / 0.777 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1613, allocations: 3.984 kB / 0.777 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1613, allocations: 3.938 kB / 0.777 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.1613, allocations: 0 / 0.777 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1613, allocations: 4 kB / 0.777 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/0.1614, allocations: 12.02 kB / 0.7771 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1614, allocations: 0 / 0.7771 GB, free: 12.36 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 (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 6.114e-05/0.1614, allocations: 113.8 kB / 0.7772 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.1614, allocations: 0 / 0.7772 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.967e-05/0.1615, allocations: 7.062 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.1615, allocations: 4 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1615, allocations: 0 / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1615, allocations: 0 / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.1616, allocations: 145.7 kB / 0.7773 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1616, allocations: 4 kB / 0.7773 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.1616, allocations: 4 kB / 0.7773 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1616, allocations: 0 / 0.7773 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1616, allocations: 3.938 kB / 0.7773 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1616, allocations: 0 / 0.7773 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1616, allocations: 0 / 0.7773 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.064e-05/0.1617, allocations: 53.14 kB / 0.7774 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.1618, allocations: 85.09 kB / 0.7775 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.1618, allocations: 7.969 kB / 0.7775 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.1618, allocations: 0 / 0.7775 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.1618, allocations: 0 / 0.7775 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1618, allocations: 0 / 0.7775 GB, free: 11.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.658e-05/0.1618, allocations: 79.22 kB / 0.7775 GB, free: 11.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1619, allocations: 0 / 0.7775 GB, free: 11.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.1621, allocations: 4 kB / 0.7775 GB, free: 11.77 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 (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.0001094/0.1622, allocations: 99.25 kB / 0.7776 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.433e-05/0.1622, allocations: 8 kB / 0.7776 GB, free: 11.65 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1623, allocations: 0 / 0.7776 GB, free: 11.65 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-06/0.1623, allocations: 4 kB / 0.7776 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1624, allocations: 3.938 kB / 0.7776 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.1626, allocations: 84.94 kB / 0.7777 GB, free: 11.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1628, allocations: 0.6692 MB / 0.7784 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.434e-05/0.1629, allocations: 0 / 0.7784 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.1629, allocations: 7.438 kB / 0.7784 GB, free: 10.83 MB / 458.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1629, allocations: 4.125 kB / 0.7784 GB, free: 10.82 MB / 458.7 MB Notification: Performance of Templates: time 0.001637/0.1645, allocations: 165.6 kB / 0.7786 GB, free: 10.67 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)