Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01036/0.01037, allocations: 221.2 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00112/0.00112, allocations: 180.6 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.734/3.734, allocations: 389.1 MB / 405.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.77/3.77, allocations: 472.3 MB / 0.9018 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004685, allocations: 12 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 98.73 MB / 1.104 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00406/0.1401, allocations: 3.338 MB / 1.107 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.1427, allocations: 1.605 MB / 1.109 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.1428, allocations: 4 kB / 1.109 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.143, allocations: 55.56 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.1435, allocations: 182.9 kB / 1.109 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.1439, allocations: 158.9 kB / 1.109 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.1444, allocations: 0.5257 MB / 1.11 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.1447, allocations: 285.1 kB / 1.11 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1449, allocations: 155.4 kB / 1.11 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.1452, allocations: 201.2 kB / 1.11 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.1453, allocations: 16 kB / 1.11 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.1456, allocations: 115.8 kB / 1.11 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.1457, allocations: 107.7 kB / 1.111 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.1458, allocations: 88.95 kB / 1.111 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.1462, allocations: 371.3 kB / 1.111 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.644e-06/0.1462, allocations: 0 / 1.111 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.759e-06/0.1462, allocations: 3.984 kB / 1.111 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.47e-06/0.1462, allocations: 0 / 1.111 GB, free: 34.75 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.000793/0.147, allocations: 0.5803 MB / 1.112 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.147, allocations: 11.97 kB / 1.112 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.1482, allocations: 146.5 kB / 1.112 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1485, allocations: 286.4 kB / 1.112 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1486, allocations: 20.66 kB / 1.112 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.1486, allocations: 31.92 kB / 1.112 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006791/0.1493, allocations: 466.4 kB / 1.113 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1494, allocations: 0 / 1.113 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.1494, allocations: 12 kB / 1.113 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.1495, allocations: 36.55 kB / 1.113 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.1501, allocations: 322.7 kB / 1.113 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.1521, allocations: 2.186 MB / 1.115 GB, free: 30.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.1525, allocations: 247.8 kB / 1.115 GB, free: 30.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.1528, allocations: 107.5 kB / 1.115 GB, free: 29.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1528, allocations: 5.453 kB / 1.115 GB, free: 29.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.1528, allocations: 38.52 kB / 1.115 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 3.22e-06/0.1528, allocations: 2.688 kB / 1.115 GB, free: 29.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0006187/0.1535, allocations: 299.5 kB / 1.116 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.1535, allocations: 55.39 kB / 1.116 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1538, allocations: 268.8 kB / 1.116 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1538, allocations: 29.7 kB / 1.116 GB, free: 29.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.1539, allocations: 211.8 kB / 1.116 GB, free: 29.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.154, allocations: 43.36 kB / 1.116 GB, free: 29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.154, allocations: 4 kB / 1.116 GB, free: 29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.1541, allocations: 338.2 kB / 1.117 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1542, allocations: 52.44 kB / 1.117 GB, free: 28.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1544, allocations: 148.5 kB / 1.117 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1545, allocations: 84.05 kB / 1.117 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.662e-06/0.1545, allocations: 0 / 1.117 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004775/0.155, allocations: 259.2 kB / 1.117 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1551, allocations: 8 kB / 1.117 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.247e-06/0.1551, allocations: 6.406 kB / 1.117 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.1553, allocations: 24.84 kB / 1.117 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.1555, allocations: 47.92 kB / 1.117 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008868/0.1564, allocations: 1.325 MB / 1.118 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1566, allocations: 27.69 kB / 1.119 GB, free: 26.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1566, allocations: 12 kB / 1.119 GB, free: 26.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.1568, allocations: 172.5 kB / 1.119 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.1569, allocations: 23.81 kB / 1.119 GB, free: 26.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.1569, allocations: 33.77 kB / 1.119 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.603e-06/0.157, allocations: 4 kB / 1.119 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.468e-06/0.157, allocations: 0 / 1.119 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.121e-06/0.157, allocations: 0 / 1.119 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/0.158, allocations: 0.708 MB / 1.119 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-06/0.158, allocations: 0 / 1.119 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.1581, allocations: 27.92 kB / 1.119 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.1583, allocations: 24.84 kB / 1.119 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1583, allocations: 7.422 kB / 1.119 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008459/0.1591, allocations: 1.315 MB / 1.121 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.369e-06/0.1592, allocations: 0 / 1.121 GB, free: 23.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.1595, allocations: 312.4 kB / 1.121 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1596, allocations: 120.7 kB / 1.121 GB, free: 23.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.1597, allocations: 7.703 kB / 1.121 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/0.16, allocations: 15.98 kB / 1.121 GB, free: 23.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.1601, allocations: 7.984 kB / 1.121 GB, free: 23.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1602, allocations: 8 kB / 1.121 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001859/0.1604, allocations: 187 kB / 1.121 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.615e-06/0.1604, allocations: 0 / 1.121 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005025/0.1609, allocations: 83.78 kB / 1.121 GB, free: 23.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000103/0.161, allocations: 107 kB / 1.122 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.1615, allocations: 273.5 kB / 1.122 GB, free: 22.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.354e-06/0.1615, allocations: 4 kB / 1.122 GB, free: 22.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.1618, allocations: 186.5 kB / 1.122 GB, free: 22.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.1623, allocations: 59.58 kB / 1.122 GB, free: 22.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.1632, allocations: 0.6417 MB / 1.123 GB, free: 21.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1635, allocations: 0.796 MB / 1.123 GB, free: 21.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.1637, allocations: 45.5 kB / 1.124 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.1638, allocations: 19.44 kB / 1.124 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.414e-06/0.1638, allocations: 0 / 1.124 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.007108/0.1709, allocations: 2.477 MB / 1.126 GB, free: 18.67 MB / 0.6042 GB