Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 292.6 MB / 307.8 MB, free: 7.121 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.001185/0.001185, allocations: 193 kB / 376.5 MB, free: 4.43 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.582/1.582, allocations: 225.7 MB / 0.655 GB, free: 13.16 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.001036/0.001036, allocations: 97.48 kB / 0.7711 GB, free: 50.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005627/0.0005627, allocations: 19.98 kB / 0.897 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8199, allocations: 118.2 MB / 1.012 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005698/0.8257, allocations: 3.34 MB / 1.016 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003428/0.8292, allocations: 1.613 MB / 1.017 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.8294, allocations: 10.44 kB / 1.017 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.8297, allocations: 56.11 kB / 1.017 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006604/0.8304, allocations: 206.3 kB / 1.017 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006477/0.8311, allocations: 173.7 kB / 1.018 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006652/0.8317, allocations: 0.5397 MB / 1.018 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005091/0.8323, allocations: 310.5 kB / 1.018 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.8325, allocations: 152.8 kB / 1.019 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.8329, allocations: 203.5 kB / 1.019 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.833, allocations: 15.38 kB / 1.019 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.8336, allocations: 292.8 kB / 1.019 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.8338, allocations: 104.4 kB / 1.019 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.834, allocations: 171.2 kB / 1.019 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.8345, allocations: 389.4 kB / 1.02 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.8345, allocations: 0 / 1.02 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8345, allocations: 0 / 1.02 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.8345, allocations: 0.5625 kB / 1.02 GB, free: 56.3 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.001034/0.8356, allocations: 0.5778 MB / 1.02 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8356, allocations: 11.62 kB / 1.02 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.837, allocations: 135.5 kB / 1.02 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.8375, allocations: 288.2 kB / 1.021 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.8375, allocations: 22.19 kB / 1.021 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.8376, allocations: 29.34 kB / 1.021 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.8385, allocations: 468.6 kB / 1.021 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.8385, allocations: 0 / 1.021 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-05/0.8386, allocations: 14.59 kB / 1.021 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.301e-05/0.8387, allocations: 34.06 kB / 1.021 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/0.8394, allocations: 317.5 kB / 1.022 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.8418, allocations: 2.19 MB / 1.024 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.8423, allocations: 249.6 kB / 1.024 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.8426, allocations: 116.6 kB / 1.024 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.8427, allocations: 3.281 kB / 1.024 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.8427, allocations: 36.72 kB / 1.024 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.8427, allocations: 0 / 1.024 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0007569/0.8435, allocations: 307.3 kB / 1.024 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.8435, allocations: 52.94 kB / 1.024 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.8439, allocations: 262.6 kB / 1.025 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.8439, allocations: 30.89 kB / 1.025 GB, free: 53.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.844, allocations: 205.2 kB / 1.025 GB, free: 53.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.8441, allocations: 45.59 kB / 1.025 GB, free: 53.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.8441, allocations: 7.25 kB / 1.025 GB, free: 53.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.8442, allocations: 339.8 kB / 1.025 GB, free: 52.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.8443, allocations: 55.25 kB / 1.025 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.8445, allocations: 139.3 kB / 1.025 GB, free: 52.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.8449, allocations: 218 kB / 1.026 GB, free: 52.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.8449, allocations: 2.75 kB / 1.026 GB, free: 52.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005919/0.8455, allocations: 268.2 kB / 1.026 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.8455, allocations: 5.875 kB / 1.026 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8456, allocations: 2.969 kB / 1.026 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.8458, allocations: 32.39 kB / 1.026 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.8461, allocations: 51.31 kB / 1.026 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.8472, allocations: 1.32 MB / 1.027 GB, free: 51.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.8475, allocations: 31.69 kB / 1.027 GB, free: 51.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.8475, allocations: 15.66 kB / 1.027 GB, free: 51.13 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.0002085/0.8477, allocations: 167.8 kB / 1.028 GB, free: 51.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.8478, allocations: 27.91 kB / 1.028 GB, free: 50.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.8479, allocations: 27.58 kB / 1.028 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8479, allocations: 0 / 1.028 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.8479, allocations: 4.094 kB / 1.028 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.8479, allocations: 2.375 kB / 1.028 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.849, allocations: 0.7081 MB / 1.028 GB, free: 50.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.8491, allocations: 2.641 kB / 1.028 GB, free: 50.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.8492, allocations: 25.75 kB / 1.028 GB, free: 50.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.8493, allocations: 23.42 kB / 1.028 GB, free: 50.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8494, allocations: 6.531 kB / 1.028 GB, free: 50.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009216/0.8503, allocations: 1.314 MB / 1.03 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8503, allocations: 0 / 1.03 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.8507, allocations: 317.4 kB / 1.03 GB, free: 49.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.8508, allocations: 123 kB / 1.03 GB, free: 48.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.8509, allocations: 3.031 kB / 1.03 GB, free: 48.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.8512, allocations: 18.91 kB / 1.03 GB, free: 48.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.8512, allocations: 14.03 kB / 1.03 GB, free: 48.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.8512, allocations: 6 kB / 1.03 GB, free: 48.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002188/0.8515, allocations: 188.3 kB / 1.03 GB, free: 48.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8515, allocations: 0 / 1.03 GB, free: 48.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006266/0.8521, allocations: 82.62 kB / 1.03 GB, free: 48.84 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 0.0001325/0.8523, allocations: 113.1 kB / 1.03 GB, free: 48.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005783/0.8529, allocations: 270.9 kB / 1.031 GB, free: 48.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8529, allocations: 2.031 kB / 1.031 GB, free: 48.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.8532, allocations: 186 kB / 1.031 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.8539, allocations: 56.81 kB / 1.031 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.855, allocations: 0.6398 MB / 1.032 GB, free: 48.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.8553, allocations: 0.7934 MB / 1.032 GB, free: 47.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.8556, allocations: 43.72 kB / 1.032 GB, free: 47.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.8556, allocations: 19.22 kB / 1.032 GB, free: 47.39 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.8557, allocations: 0 / 1.032 GB, free: 47.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.008299/0.864, allocations: 2.523 MB / 1.035 GB, free: 47.27 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)