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.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") 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.694/1.694, allocations: 292.6 MB / 307.8 MB, free: 7.141 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.001001/0.001001, allocations: 185 kB / 376.5 MB, free: 4.422 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.493/1.493, allocations: 225.7 MB / 0.655 GB, free: 13.05 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.0009147/0.0009146, allocations: 95.94 kB / 0.7711 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004185, allocations: 12.84 kB / 0.897 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7587/0.7591, allocations: 118.2 MB / 1.012 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004144/0.7633, allocations: 3.359 MB / 1.016 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.7658, allocations: 1.655 MB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.766, allocations: 9.812 kB / 1.017 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.7662, allocations: 57.2 kB / 1.017 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000506/0.7667, allocations: 219.9 kB / 1.018 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.7673, allocations: 212.7 kB / 1.018 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.7678, allocations: 0.569 MB / 1.018 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.7682, allocations: 358 kB / 1.019 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.7684, allocations: 161 kB / 1.019 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.7687, allocations: 214.6 kB / 1.019 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.7688, allocations: 16.41 kB / 1.019 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.7691, allocations: 222.2 kB / 1.019 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-05/0.7692, allocations: 110.6 kB / 1.019 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.7694, allocations: 181.4 kB / 1.02 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.7697, allocations: 366.7 kB / 1.02 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7698, allocations: 0 / 1.02 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7698, allocations: 2.969 kB / 1.02 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.7698, allocations: 0.8125 kB / 1.02 GB, free: 56.61 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009266/0.7707, allocations: 0.6093 MB / 1.02 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7708, allocations: 8.156 kB / 1.02 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004873/0.7713, allocations: 90.16 kB / 1.021 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.7716, allocations: 283.2 kB / 1.021 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.7716, allocations: 23.05 kB / 1.021 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.7717, allocations: 35.47 kB / 1.021 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/0.7724, allocations: 0.4929 MB / 1.021 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.7724, allocations: 0 / 1.021 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.7724, allocations: 14.22 kB / 1.021 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.7725, allocations: 37.61 kB / 1.021 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.7732, allocations: 384.9 kB / 1.022 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.7749, allocations: 2.058 MB / 1.024 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.7754, allocations: 221.6 kB / 1.024 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.7758, allocations: 172.3 kB / 1.024 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.7758, allocations: 3 kB / 1.024 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.7759, allocations: 41.53 kB / 1.024 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 4.017e-06/0.7759, allocations: 0 / 1.024 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.001037/0.7769, allocations: 446.1 kB / 1.025 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.777, allocations: 58.31 kB / 1.025 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.7772, allocations: 258.8 kB / 1.025 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.7772, allocations: 32.39 kB / 1.025 GB, free: 53.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.7773, allocations: 206.3 kB / 1.025 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.7774, allocations: 65.12 kB / 1.025 GB, free: 53.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.7774, allocations: 10.5 kB / 1.025 GB, free: 53.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.7775, allocations: 334.8 kB / 1.026 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.7777, allocations: 104.5 kB / 1.026 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.778, allocations: 216.6 kB / 1.026 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.7785, allocations: 332.4 kB / 1.026 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7785, allocations: 0 / 1.026 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006473/0.7792, allocations: 378.6 kB / 1.027 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.646e-05/0.7793, allocations: 198.2 kB / 1.027 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7793, allocations: 5.656 kB / 1.027 GB, free: 52.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.7795, allocations: 32.55 kB / 1.027 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.7797, allocations: 77.42 kB / 1.027 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.7808, allocations: 1.332 MB / 1.028 GB, free: 51.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.781, allocations: 50.62 kB / 1.028 GB, free: 51.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.7811, allocations: 14.38 kB / 1.028 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.7811, allocations: 7.344 kB / 1.028 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000559/0.7816, allocations: 291.3 kB / 1.029 GB, free: 51.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.7817, allocations: 3.031 kB / 1.029 GB, free: 51.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.7817, allocations: 5.75 kB / 1.029 GB, free: 51.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.7819, allocations: 88.14 kB / 1.029 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.782, allocations: 8.859 kB / 1.029 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.7822, allocations: 40.36 kB / 1.029 GB, free: 51.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.7822, allocations: 16.47 kB / 1.029 GB, free: 51.31 MB / 0.7136 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.7824, allocations: 247.7 kB / 1.029 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.7824, allocations: 24.66 kB / 1.029 GB, free: 51.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.7825, allocations: 35.77 kB / 1.029 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.7825, allocations: 4.531 kB / 1.029 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7825, allocations: 0 / 1.029 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7825, allocations: 0 / 1.029 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.7836, allocations: 0.7845 MB / 1.03 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7836, allocations: 0 / 1.03 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.7838, allocations: 40.17 kB / 1.03 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.7839, allocations: 31.7 kB / 1.03 GB, free: 50.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.7839, allocations: 7.406 kB / 1.03 GB, free: 50.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006809/0.7846, allocations: 1.308 MB / 1.031 GB, free: 49.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7846, allocations: 14.94 kB / 1.031 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.7852, allocations: 378.7 kB / 1.031 GB, free: 49.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.7853, allocations: 117.2 kB / 1.032 GB, free: 49.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.7853, allocations: 10.47 kB / 1.032 GB, free: 49.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.7855, allocations: 24.33 kB / 1.032 GB, free: 49.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.7856, allocations: 18.3 kB / 1.032 GB, free: 49.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.7856, allocations: 6.375 kB / 1.032 GB, free: 49.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001504/0.7858, allocations: 185 kB / 1.032 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7858, allocations: 0 / 1.032 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005169/0.7863, allocations: 142.5 kB / 1.032 GB, free: 49 MB / 0.7136 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001162/0.7864, allocations: 114.5 kB / 1.032 GB, free: 48.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009557/0.7874, allocations: 0.5123 MB / 1.033 GB, free: 48.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7874, allocations: 0 / 1.033 GB, free: 48.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.7877, allocations: 226.3 kB / 1.033 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.7882, allocations: 70.94 kB / 1.033 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.789, allocations: 0.6645 MB / 1.033 GB, free: 48.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.7893, allocations: 0.7992 MB / 1.034 GB, free: 47.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002241/0.7895, allocations: 70.19 kB / 1.034 GB, free: 47.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.7896, allocations: 21.56 kB / 1.034 GB, free: 47.53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7896, allocations: 0 / 1.034 GB, free: 47.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.00655/0.7961, allocations: 3.159 MB / 1.037 GB, free: 47.39 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)