Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.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.001381/0.001381, allocations: 201.1 kB / 329.5 MB, free: 1.148 MB / 250.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 2.627/2.627, allocations: 225.6 MB / 0.6001 GB, free: 3.684 MB / 426.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.001475/0.001475, allocations: 98.08 kB / 0.7074 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006264/0.0006267, allocations: 18.05 kB / 0.8242 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2308, allocations: 109.1 MB / 0.9308 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00825/0.2392, allocations: 3.568 MB / 0.9342 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.2434, allocations: 1.508 MB / 0.9357 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.2438, allocations: 4 kB / 0.9357 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.2442, allocations: 67.48 kB / 0.9358 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000838/0.245, allocations: 179.1 kB / 0.936 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2461, allocations: 167.7 kB / 0.9361 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.2474, allocations: 0.6231 MB / 0.9367 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008093/0.2482, allocations: 409.7 kB / 0.9371 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.2486, allocations: 187.3 kB / 0.9373 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006754/0.2493, allocations: 227.2 kB / 0.9375 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.91e-05/0.2494, allocations: 16 kB / 0.9375 GB, free: 36.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.2499, allocations: 83.89 kB / 0.9376 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.2501, allocations: 127.6 kB / 0.9377 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.2503, allocations: 93.52 kB / 0.9378 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007018/0.251, allocations: 395.2 kB / 0.9382 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.251, allocations: 4 kB / 0.9382 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2511, allocations: 0 / 0.9382 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.735e-05/0.2511, allocations: 0 / 0.9382 GB, free: 35.79 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002062/0.2532, allocations: 0.6281 MB / 0.9388 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.2533, allocations: 14.84 kB / 0.9388 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.255, allocations: 104.4 kB / 0.9389 GB, free: 35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.2558, allocations: 297.8 kB / 0.9392 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.256, allocations: 55.27 kB / 0.9393 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.2561, allocations: 36.38 kB / 0.9393 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.2579, allocations: 0.5047 MB / 0.9398 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.258, allocations: 4 kB / 0.9398 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/0.2581, allocations: 20 kB / 0.9398 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.074e-05/0.2582, allocations: 24.98 kB / 0.9398 GB, free: 34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.2597, allocations: 383.7 kB / 0.9402 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004562/0.2643, allocations: 2.223 MB / 0.9424 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.2659, allocations: 270.6 kB / 0.9426 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007983/0.2667, allocations: 164.7 kB / 0.9428 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.2668, allocations: 7.875 kB / 0.9428 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.2668, allocations: 38.56 kB / 0.9428 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 5.059e-06/0.2669, allocations: 0 / 0.9428 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.003519/0.2704, allocations: 0.5849 MB / 0.9434 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2705, allocations: 55.41 kB / 0.9435 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.2709, allocations: 221 kB / 0.9437 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.2709, allocations: 29.7 kB / 0.9437 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2711, allocations: 211.6 kB / 0.9439 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/0.2712, allocations: 71.02 kB / 0.944 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.2713, allocations: 8 kB / 0.944 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.2714, allocations: 330.8 kB / 0.9443 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.2719, allocations: 95.92 kB / 0.9444 GB, free: 29.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.2724, allocations: 183 kB / 0.9446 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.273, allocations: 116 kB / 0.9447 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.273, allocations: 0 / 0.9447 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002129/0.2752, allocations: 389.4 kB / 0.945 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.2753, allocations: 169.5 kB / 0.9452 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2754, allocations: 0 / 0.9452 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.2765, allocations: 105.6 kB / 0.9453 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.277, allocations: 55.91 kB / 0.9454 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005894/0.283, allocations: 2.838 MB / 0.9481 GB, free: 24.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/0.2836, allocations: 35.67 kB / 0.9482 GB, free: 24.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.2837, allocations: 12.03 kB / 0.9482 GB, free: 24.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2837, allocations: 11.91 kB / 0.9482 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001652/0.2854, allocations: 312.6 kB / 0.9485 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2854, allocations: 4 kB / 0.9485 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.2861, allocations: 72.92 kB / 0.9485 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.2867, allocations: 59.91 kB / 0.9486 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/0.2904, allocations: 1.495 MB / 0.9501 GB, free: 22.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.291, allocations: 31.83 kB / 0.9501 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.2911, allocations: 12 kB / 0.9501 GB, free: 22.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.2915, allocations: 253 kB / 0.9503 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.2916, allocations: 19.72 kB / 0.9504 GB, free: 22.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.825e-05/0.2917, allocations: 34.19 kB / 0.9504 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.2917, allocations: 3.938 kB / 0.9504 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2918, allocations: 0 / 0.9504 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.2918, allocations: 15.86 kB / 0.9504 GB, free: 22.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.2945, allocations: 0.8288 MB / 0.9512 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.2945, allocations: 4 kB / 0.9512 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.2949, allocations: 31.92 kB / 0.9513 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/0.2957, allocations: 109.7 kB / 0.9514 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.2958, allocations: 0 / 0.9514 GB, free: 21.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.3009, allocations: 2.806 MB / 0.9541 GB, free: 18.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.3009, allocations: 0 / 0.9541 GB, free: 18.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3027, allocations: 432.6 kB / 0.9545 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.3029, allocations: 116.8 kB / 0.9546 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.303, allocations: 11.98 kB / 0.9546 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.3034, allocations: 8 kB / 0.9547 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.3036, allocations: 27.91 kB / 0.9547 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.3036, allocations: 4 kB / 0.9547 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002646/0.3039, allocations: 164.4 kB / 0.9548 GB, free: 17.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.91e-07/0.3039, allocations: 0 / 0.9548 GB, free: 17.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001364/0.3053, allocations: 171.4 kB / 0.955 GB, free: 17.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000203/0.3055, allocations: 111 kB / 0.9551 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003748/0.3093, allocations: 0.7582 MB / 0.9558 GB, free: 16.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3093, allocations: 4 kB / 0.9559 GB, free: 16.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.3106, allocations: 377.7 kB / 0.9562 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.3113, allocations: 57.34 kB / 0.9563 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3127, allocations: 0.7059 MB / 0.957 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3131, allocations: 0.8184 MB / 0.9578 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003576/0.3134, allocations: 58.23 kB / 0.9578 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3136, allocations: 19.44 kB / 0.9578 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of SimCode: time 1.593e-06/0.3136, allocations: 0 / 0.9578 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.0174/0.331, allocations: 4.141 MB / 0.9619 GB, free: 10.06 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)