Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.778/1.778, allocations: 291.7 MB / 306.8 MB, free: 7.715 MB / 234.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: 184 kB / 375.4 MB, free: 5.129 MB / 298.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.59/1.59, allocations: 225.7 MB / 0.6538 GB, free: 13.63 MB / 490.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.000831/0.0008311, allocations: 101.4 kB / 0.7699 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004321, allocations: 11.98 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6492, allocations: 118.1 MB / 1.011 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00366/0.6529, allocations: 3.338 MB / 1.014 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.6551, allocations: 1.618 MB / 1.016 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.6553, allocations: 8.25 kB / 1.016 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.6555, allocations: 60.88 kB / 1.016 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.6559, allocations: 174.5 kB / 1.016 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.6563, allocations: 150.6 kB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.6568, allocations: 0.5372 MB / 1.017 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.6571, allocations: 319.6 kB / 1.017 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.6573, allocations: 155.2 kB / 1.017 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.6576, allocations: 195.9 kB / 1.017 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.6576, allocations: 13.94 kB / 1.017 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.6578, allocations: 120.1 kB / 1.017 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.183e-05/0.6579, allocations: 110 kB / 1.018 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.658, allocations: 82.77 kB / 1.018 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.6583, allocations: 374.7 kB / 1.018 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6583, allocations: 0 / 1.018 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6583, allocations: 0.5625 kB / 1.018 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.6584, allocations: 0.75 kB / 1.018 GB, free: 57.09 MB / 0.7136 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.0007223/0.6591, allocations: 0.5793 MB / 1.019 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.6591, allocations: 9.5 kB / 1.019 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.6599, allocations: 141.9 kB / 1.019 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.6602, allocations: 286.2 kB / 1.019 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.6602, allocations: 21.27 kB / 1.019 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.6603, allocations: 25.59 kB / 1.019 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.6608, allocations: 462.6 kB / 1.019 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6609, allocations: 1.969 kB / 1.019 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.6609, allocations: 14.28 kB / 1.019 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/0.661, allocations: 31.83 kB / 1.019 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.6614, allocations: 325.8 kB / 1.02 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.6631, allocations: 2.188 MB / 1.022 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.6634, allocations: 256.4 kB / 1.022 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.6637, allocations: 114.7 kB / 1.022 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.6637, allocations: 2.016 kB / 1.022 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.6637, allocations: 37 kB / 1.022 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.6637, allocations: 2.25 kB / 1.022 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0004765/0.6642, allocations: 295.1 kB / 1.023 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.6642, allocations: 55.16 kB / 1.023 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.6645, allocations: 270.6 kB / 1.023 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.6645, allocations: 27.48 kB / 1.023 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.6646, allocations: 209.3 kB / 1.023 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.6646, allocations: 48.2 kB / 1.023 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.6647, allocations: 7.062 kB / 1.023 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.6647, allocations: 339.3 kB / 1.023 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.6648, allocations: 53.66 kB / 1.024 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.6649, allocations: 141.2 kB / 1.024 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.6651, allocations: 224.6 kB / 1.024 GB, free: 53.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6651, allocations: 2.938 kB / 1.024 GB, free: 53.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003408/0.6655, allocations: 270.1 kB / 1.024 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6655, allocations: 5.969 kB / 1.024 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6655, allocations: 2.562 kB / 1.024 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.6657, allocations: 26.84 kB / 1.024 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.6659, allocations: 47.06 kB / 1.024 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006951/0.6666, allocations: 1.328 MB / 1.026 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.6667, allocations: 27.34 kB / 1.026 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.6667, allocations: 14.09 kB / 1.026 GB, free: 51.91 MB / 0.7136 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.0001268/0.6669, allocations: 164.4 kB / 1.026 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.6669, allocations: 27.86 kB / 1.026 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.667, allocations: 32.72 kB / 1.026 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.667, allocations: 2.844 kB / 1.026 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.667, allocations: 0 / 1.026 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.667, allocations: 0 / 1.026 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.6677, allocations: 0.707 MB / 1.026 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6677, allocations: 0 / 1.026 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.6678, allocations: 26.59 kB / 1.027 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-05/0.6679, allocations: 25.16 kB / 1.027 GB, free: 51.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6679, allocations: 6.125 kB / 1.027 GB, free: 51.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005954/0.6685, allocations: 1.316 MB / 1.028 GB, free: 50.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6685, allocations: 6.625 kB / 1.028 GB, free: 50.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.6688, allocations: 310.4 kB / 1.028 GB, free: 49.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.6688, allocations: 117.4 kB / 1.028 GB, free: 49.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.6689, allocations: 6.406 kB / 1.028 GB, free: 49.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.669, allocations: 11.34 kB / 1.028 GB, free: 49.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.6691, allocations: 20.03 kB / 1.028 GB, free: 49.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6691, allocations: 6.266 kB / 1.028 GB, free: 49.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001507/0.6692, allocations: 193.3 kB / 1.028 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6692, allocations: 0 / 1.028 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003468/0.6696, allocations: 79.47 kB / 1.029 GB, free: 49.62 MB / 0.7136 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 9.136e-05/0.6697, allocations: 114.3 kB / 1.029 GB, free: 49.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.6701, allocations: 272.7 kB / 1.029 GB, free: 49.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6701, allocations: 1.375 kB / 1.029 GB, free: 49.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.6703, allocations: 182.3 kB / 1.029 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.6707, allocations: 60.2 kB / 1.029 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.6714, allocations: 0.6372 MB / 1.03 GB, free: 48.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.6716, allocations: 0.7876 MB / 1.031 GB, free: 48.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.6718, allocations: 45.62 kB / 1.031 GB, free: 48.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.6719, allocations: 21.88 kB / 1.031 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.6719, allocations: 0 / 1.031 GB, free: 48.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.005387/0.6773, allocations: 2.487 MB / 1.033 GB, free: 48.06 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)