Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 297.4 MB / 312.6 MB, free: 2.895 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.001312/0.001312, allocations: 190 kB / 382.3 MB, free: 14.79 MB / 314.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.557/1.557, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.0008069/0.000807, allocations: 93.5 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005298/0.0005299, allocations: 8 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8026/0.8032, allocations: 119.2 MB / 1.022 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006565/0.8098, allocations: 3.615 MB / 1.026 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003448/0.8133, allocations: 2.288 MB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.8137, allocations: 6 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.814, allocations: 66.97 kB / 1.028 GB, free: 54.15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008286/0.8148, allocations: 226.2 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.8156, allocations: 195.2 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.8168, allocations: 0.7697 MB / 1.029 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006899/0.8176, allocations: 449.6 kB / 1.03 GB, free: 53.42 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.8179, allocations: 182 kB / 1.03 GB, free: 53.35 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005416/0.8185, allocations: 239.2 kB / 1.03 GB, free: 53.26 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.295e-05/0.8185, allocations: 19.03 kB / 1.03 GB, free: 53.26 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.8191, allocations: 186.2 kB / 1.03 GB, free: 53.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.8193, allocations: 128.3 kB / 1.03 GB, free: 53.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.8196, allocations: 195.1 kB / 1.031 GB, free: 53.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000804/0.8204, allocations: 0.5107 MB / 1.031 GB, free: 52.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.8204, allocations: 0 / 1.031 GB, free: 52.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8204, allocations: 3.938 kB / 1.031 GB, free: 52.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.8204, allocations: 0 / 1.031 GB, free: 52.89 MB / 0.698 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.001508/0.822, allocations: 0.6187 MB / 1.032 GB, free: 52.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.822, allocations: 10.56 kB / 1.032 GB, free: 52.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.8232, allocations: 106.3 kB / 1.032 GB, free: 52.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.8237, allocations: 299.5 kB / 1.032 GB, free: 52.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.8239, allocations: 54.14 kB / 1.032 GB, free: 52.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.824, allocations: 43.16 kB / 1.032 GB, free: 52.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.8253, allocations: 0.5047 MB / 1.033 GB, free: 51.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.8254, allocations: 0 / 1.033 GB, free: 51.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.8254, allocations: 13.56 kB / 1.033 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.017e-05/0.8255, allocations: 37.44 kB / 1.033 GB, free: 51.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.8267, allocations: 392.2 kB / 1.033 GB, free: 51.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.8301, allocations: 2.221 MB / 1.035 GB, free: 49.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.8313, allocations: 267.2 kB / 1.036 GB, free: 49.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.8319, allocations: 162.1 kB / 1.036 GB, free: 49.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.832, allocations: 4.25 kB / 1.036 GB, free: 49.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.832, allocations: 33.19 kB / 1.036 GB, free: 49.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.286e-06/0.832, allocations: 0 / 1.036 GB, free: 49.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002382/0.8344, allocations: 0.5873 MB / 1.036 GB, free: 49.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.8345, allocations: 54.5 kB / 1.036 GB, free: 49.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.8348, allocations: 231.2 kB / 1.037 GB, free: 49.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.8349, allocations: 25.7 kB / 1.037 GB, free: 49.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.835, allocations: 219.6 kB / 1.037 GB, free: 48.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.8351, allocations: 62.92 kB / 1.037 GB, free: 48.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.8351, allocations: 5.781 kB / 1.037 GB, free: 48.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.8352, allocations: 331.6 kB / 1.037 GB, free: 48.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.8356, allocations: 99.39 kB / 1.037 GB, free: 48.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.836, allocations: 184.4 kB / 1.037 GB, free: 48.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007778/0.8368, allocations: 285.6 kB / 1.038 GB, free: 48.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8369, allocations: 0 / 1.038 GB, free: 48.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001451/0.8383, allocations: 390.7 kB / 1.038 GB, free: 47.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.8385, allocations: 171.2 kB / 1.038 GB, free: 47.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.8385, allocations: 2.219 kB / 1.038 GB, free: 47.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008259/0.8393, allocations: 109.6 kB / 1.038 GB, free: 47.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.8397, allocations: 50.33 kB / 1.038 GB, free: 47.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.8439, allocations: 2.831 MB / 1.041 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.8444, allocations: 35.66 kB / 1.041 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.8445, allocations: 12.19 kB / 1.041 GB, free: 45.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.8445, allocations: 4.125 kB / 1.041 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/0.8457, allocations: 315.9 kB / 1.042 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.8457, allocations: 2.812 kB / 1.042 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.8462, allocations: 82.53 kB / 1.042 GB, free: 44.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.8466, allocations: 57.67 kB / 1.042 GB, free: 44.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.8494, allocations: 1.5 MB / 1.043 GB, free: 43.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.8498, allocations: 32.2 kB / 1.043 GB, free: 43.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.8499, allocations: 16.28 kB / 1.043 GB, free: 43.51 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003797/0.8503, allocations: 245 kB / 1.043 GB, free: 43.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.8504, allocations: 22.38 kB / 1.043 GB, free: 43.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.102e-05/0.8505, allocations: 28.42 kB / 1.043 GB, free: 43.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.8505, allocations: 7.875 kB / 1.043 GB, free: 43.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8505, allocations: 1.469 kB / 1.043 GB, free: 43.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.8506, allocations: 6.203 kB / 1.043 GB, free: 43.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.8532, allocations: 0.8381 MB / 1.044 GB, free: 42.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8532, allocations: 5.031 kB / 1.044 GB, free: 42.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.8535, allocations: 32.5 kB / 1.044 GB, free: 42.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007158/0.8542, allocations: 102.7 kB / 1.044 GB, free: 42.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.8543, allocations: 8 kB / 1.044 GB, free: 42.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/0.8581, allocations: 2.8 MB / 1.047 GB, free: 39.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8581, allocations: 2.109 kB / 1.047 GB, free: 39.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.8595, allocations: 426.1 kB / 1.048 GB, free: 39.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.8597, allocations: 124.5 kB / 1.048 GB, free: 39.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.8598, allocations: 1.312 kB / 1.048 GB, free: 39.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.8601, allocations: 19 kB / 1.048 GB, free: 39.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.8603, allocations: 21.27 kB / 1.048 GB, free: 39.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.8603, allocations: 4.875 kB / 1.048 GB, free: 39.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002312/0.8605, allocations: 161.1 kB / 1.048 GB, free: 39.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8606, allocations: 1.5 kB / 1.048 GB, free: 39.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001212/0.8618, allocations: 168.7 kB / 1.048 GB, free: 39.44 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001891/0.862, allocations: 115 kB / 1.048 GB, free: 39.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003204/0.8652, allocations: 0.7675 MB / 1.049 GB, free: 38.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8652, allocations: 0 / 1.049 GB, free: 38.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.8665, allocations: 381.2 kB / 1.049 GB, free: 38.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.8674, allocations: 50.52 kB / 1.049 GB, free: 38.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.869, allocations: 0.7335 MB / 1.05 GB, free: 38.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.8695, allocations: 0.8154 MB / 1.051 GB, free: 37.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004137/0.8699, allocations: 55.28 kB / 1.051 GB, free: 37.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.87, allocations: 23.69 kB / 1.051 GB, free: 37.39 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.87, allocations: 0 / 1.051 GB, free: 37.39 MB / 0.698 GB Notification: Performance of Templates: time 0.0159/0.8859, allocations: 4.264 MB / 1.055 GB, free: 37.14 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)