Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad") 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.727/1.727, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001017/0.001017, allocations: 178.1 kB / 382.3 MB, free: 14.83 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.374/1.374, allocations: 225.7 MB / 0.6617 GB, free: 7.246 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.0008403/0.0008403, allocations: 94.25 kB / 0.7789 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005374, allocations: 8 kB / 0.9058 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6164, allocations: 119.2 MB / 1.022 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003858/0.6203, allocations: 3.401 MB / 1.026 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.6227, allocations: 2.596 MB / 1.028 GB, free: 53.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.6229, allocations: 9.156 kB / 1.028 GB, free: 53.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.6231, allocations: 53.78 kB / 1.028 GB, free: 53.47 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.6236, allocations: 235.9 kB / 1.028 GB, free: 53.35 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.6243, allocations: 228.9 kB / 1.029 GB, free: 53.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008111/0.6251, allocations: 0.6992 MB / 1.029 GB, free: 53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004795/0.6256, allocations: 361.2 kB / 1.03 GB, free: 52.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.6259, allocations: 160.1 kB / 1.03 GB, free: 52.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.6263, allocations: 231.7 kB / 1.03 GB, free: 52.63 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.6263, allocations: 19.62 kB / 1.03 GB, free: 52.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.6268, allocations: 217.2 kB / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.6269, allocations: 112.5 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.6271, allocations: 192.7 kB / 1.031 GB, free: 52.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.6277, allocations: 482.5 kB / 1.031 GB, free: 52.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6277, allocations: 4.875 kB / 1.031 GB, free: 52.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6277, allocations: 0 / 1.031 GB, free: 52.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6278, allocations: 0.9062 kB / 1.031 GB, free: 52.25 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009196/0.6287, allocations: 0.604 MB / 1.032 GB, free: 51.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6287, allocations: 9.156 kB / 1.032 GB, free: 51.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005236/0.6293, allocations: 94.09 kB / 1.032 GB, free: 51.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.6296, allocations: 284 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.6296, allocations: 19.88 kB / 1.032 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.6297, allocations: 31.95 kB / 1.032 GB, free: 51.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.6304, allocations: 498.5 kB / 1.032 GB, free: 51.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.6304, allocations: 2.188 kB / 1.032 GB, free: 51.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.6305, allocations: 17.41 kB / 1.033 GB, free: 51.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.6305, allocations: 37.2 kB / 1.033 GB, free: 51.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/0.6312, allocations: 384.9 kB / 1.033 GB, free: 51.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.6328, allocations: 2.056 MB / 1.035 GB, free: 49.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.6333, allocations: 222.5 kB / 1.035 GB, free: 49.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.6336, allocations: 177.3 kB / 1.035 GB, free: 49.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.6337, allocations: 0 / 1.035 GB, free: 49.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.6337, allocations: 32.97 kB / 1.035 GB, free: 49.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.6337, allocations: 0 / 1.035 GB, free: 49.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0009739/0.6347, allocations: 457.4 kB / 1.036 GB, free: 48.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.6347, allocations: 56.91 kB / 1.036 GB, free: 48.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.6349, allocations: 260.4 kB / 1.036 GB, free: 48.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.6349, allocations: 33.7 kB / 1.036 GB, free: 48.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.635, allocations: 212 kB / 1.036 GB, free: 48.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.6351, allocations: 57.22 kB / 1.036 GB, free: 48.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.6351, allocations: 6.812 kB / 1.036 GB, free: 48.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.6351, allocations: 343.5 kB / 1.037 GB, free: 48.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.6354, allocations: 102 kB / 1.037 GB, free: 48.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.6357, allocations: 212.6 kB / 1.037 GB, free: 47.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.6361, allocations: 336.5 kB / 1.037 GB, free: 47.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6361, allocations: 0 / 1.037 GB, free: 47.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006473/0.6368, allocations: 376.3 kB / 1.038 GB, free: 47.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.6369, allocations: 204.2 kB / 1.038 GB, free: 47.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6369, allocations: 2.906 kB / 1.038 GB, free: 47.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.6372, allocations: 34 kB / 1.038 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.6375, allocations: 68.08 kB / 1.038 GB, free: 47.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008511/0.6383, allocations: 1.344 MB / 1.039 GB, free: 45.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.6386, allocations: 50.36 kB / 1.039 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.6386, allocations: 18.81 kB / 1.039 GB, free: 45.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.6386, allocations: 3.906 kB / 1.039 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005334/0.6392, allocations: 297.7 kB / 1.04 GB, free: 45.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6392, allocations: 3.688 kB / 1.04 GB, free: 45.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.6392, allocations: 5.156 kB / 1.04 GB, free: 45.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.6395, allocations: 77.88 kB / 1.04 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.6395, allocations: 15.3 kB / 1.04 GB, free: 45.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.6397, allocations: 43.61 kB / 1.04 GB, free: 45.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.6397, allocations: 12 kB / 1.04 GB, free: 45.83 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.6399, allocations: 247.2 kB / 1.04 GB, free: 45.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.6399, allocations: 23.38 kB / 1.04 GB, free: 45.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.64, allocations: 40.58 kB / 1.04 GB, free: 45.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.64, allocations: 4 kB / 1.04 GB, free: 45.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.64, allocations: 0.875 kB / 1.04 GB, free: 45.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.64, allocations: 0 / 1.04 GB, free: 45.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009667/0.641, allocations: 0.7714 MB / 1.041 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.641, allocations: 7 kB / 1.041 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.6412, allocations: 42.2 kB / 1.041 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.519e-05/0.6413, allocations: 29.88 kB / 1.041 GB, free: 45.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.6413, allocations: 1.375 kB / 1.041 GB, free: 45.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006582/0.642, allocations: 1.316 MB / 1.042 GB, free: 43.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.642, allocations: 3.938 kB / 1.042 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.6425, allocations: 387.8 kB / 1.043 GB, free: 43.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.6426, allocations: 120.6 kB / 1.043 GB, free: 43.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.6426, allocations: 7.938 kB / 1.043 GB, free: 43.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.6428, allocations: 19.97 kB / 1.043 GB, free: 43.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.6429, allocations: 24.67 kB / 1.043 GB, free: 43.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.6429, allocations: 5.188 kB / 1.043 GB, free: 43.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001431/0.643, allocations: 180.7 kB / 1.043 GB, free: 43.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.643, allocations: 0 / 1.043 GB, free: 43.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005249/0.6436, allocations: 146.6 kB / 1.043 GB, free: 43.2 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001094/0.6437, allocations: 112.4 kB / 1.043 GB, free: 43.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009493/0.6446, allocations: 0.5084 MB / 1.044 GB, free: 42.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6447, allocations: 4.062 kB / 1.044 GB, free: 42.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.645, allocations: 233.6 kB / 1.044 GB, free: 42.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.6454, allocations: 70.27 kB / 1.044 GB, free: 42.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.6462, allocations: 0.6944 MB / 1.045 GB, free: 42.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.6464, allocations: 0.802 MB / 1.045 GB, free: 41.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.6467, allocations: 73.67 kB / 1.045 GB, free: 41.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.6467, allocations: 22.41 kB / 1.046 GB, free: 41.53 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.6467, allocations: 0 / 1.046 GB, free: 41.53 MB / 0.698 GB Notification: Performance of Templates: time 0.006319/0.653, allocations: 3.202 MB / 1.049 GB, free: 41.33 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)