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.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.364/2.364, allocations: 254.9 MB / 269.9 MB, free: 9.66 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.001362/0.001362, allocations: 196.8 kB / 329.5 MB, free: 1.172 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.541/2.541, allocations: 225.6 MB / 0.6001 GB, free: 2.168 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.0009362/0.0009359, allocations: 97.61 kB / 0.7074 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006648/0.0006651, allocations: 11.59 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2538, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005059/0.2589, allocations: 3.364 MB / 0.934 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003355/0.2623, allocations: 1.653 MB / 0.9357 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.2627, allocations: 8 kB / 0.9357 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.263, allocations: 63.5 kB / 0.9357 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000712/0.2637, allocations: 187.1 kB / 0.9359 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.2646, allocations: 195.6 kB / 0.9361 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000804/0.2654, allocations: 0.5685 MB / 0.9367 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.2659, allocations: 360.2 kB / 0.937 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.2662, allocations: 159.4 kB / 0.9371 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.2667, allocations: 211.3 kB / 0.9373 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.2668, allocations: 23.92 kB / 0.9374 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.2671, allocations: 83.88 kB / 0.9375 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2673, allocations: 111.7 kB / 0.9376 GB, free: 18.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.2674, allocations: 85.52 kB / 0.9376 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.2679, allocations: 363.4 kB / 0.938 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.2679, allocations: 7.938 kB / 0.938 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2679, allocations: 3.938 kB / 0.938 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.2679, allocations: 0 / 0.938 GB, free: 17.64 MB / 0.5886 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.001283/0.2692, allocations: 0.6121 MB / 0.9386 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2693, allocations: 8.031 kB / 0.9386 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000767/0.27, allocations: 80.5 kB / 0.9387 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.2705, allocations: 287.5 kB / 0.939 GB, free: 16.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.2706, allocations: 24.97 kB / 0.939 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.2706, allocations: 32.34 kB / 0.939 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2718, allocations: 0.4902 MB / 0.9395 GB, free: 16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.2719, allocations: 0 / 0.9395 GB, free: 16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.2719, allocations: 16 kB / 0.9395 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.38e-05/0.272, allocations: 36.62 kB / 0.9395 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.2732, allocations: 386.2 kB / 0.9399 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.276, allocations: 2.044 MB / 0.9419 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/0.2769, allocations: 218.7 kB / 0.9421 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.2775, allocations: 172.8 kB / 0.9423 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.2776, allocations: 3.938 kB / 0.9423 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2776, allocations: 38.56 kB / 0.9423 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.895e-06/0.2776, allocations: 0 / 0.9423 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.001681/0.2793, allocations: 459.4 kB / 0.9428 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.2794, allocations: 55.41 kB / 0.9428 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.2797, allocations: 258.6 kB / 0.9431 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2797, allocations: 37.64 kB / 0.9431 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2799, allocations: 207.7 kB / 0.9433 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.2799, allocations: 71.09 kB / 0.9434 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.28, allocations: 8 kB / 0.9434 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.28, allocations: 330.8 kB / 0.9437 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.2805, allocations: 100.5 kB / 0.9438 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.2809, allocations: 216.4 kB / 0.944 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.2814, allocations: 131.9 kB / 0.9441 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.2814, allocations: 4 kB / 0.9441 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001236/0.2827, allocations: 369.9 kB / 0.9445 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.2828, allocations: 198 kB / 0.9447 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2828, allocations: 4 kB / 0.9447 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002963/0.2832, allocations: 36.84 kB / 0.9447 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.2837, allocations: 67.89 kB / 0.9448 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.285, allocations: 1.346 MB / 0.9461 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.2855, allocations: 51.7 kB / 0.9461 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.2855, allocations: 15.94 kB / 0.9461 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.2856, allocations: 4 kB / 0.9461 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009705/0.2865, allocations: 296.2 kB / 0.9464 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2866, allocations: 4 kB / 0.9464 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2866, allocations: 12.03 kB / 0.9464 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.2872, allocations: 79.77 kB / 0.9465 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2872, allocations: 7.984 kB / 0.9465 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.2876, allocations: 43.73 kB / 0.9466 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.2876, allocations: 16 kB / 0.9466 GB, free: 8.199 MB / 0.5886 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.000253/0.2879, allocations: 245 kB / 0.9468 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.2879, allocations: 23.72 kB / 0.9468 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-05/0.288, allocations: 38.11 kB / 0.9469 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.288, allocations: 4 kB / 0.9469 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2881, allocations: 0 / 0.9469 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2881, allocations: 0 / 0.9469 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.2897, allocations: 0.7733 MB / 0.9476 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2898, allocations: 0 / 0.9476 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.2901, allocations: 43.91 kB / 0.9477 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/0.2903, allocations: 32.89 kB / 0.9477 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.2903, allocations: 7.938 kB / 0.9477 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.2913, allocations: 1.315 MB / 0.949 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2914, allocations: 7.969 kB / 0.949 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.2923, allocations: 381.7 kB / 0.9494 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.2925, allocations: 120.7 kB / 0.9495 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.2926, allocations: 11.94 kB / 0.9495 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.2929, allocations: 19.98 kB / 0.9495 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.293, allocations: 15.97 kB / 0.9495 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.293, allocations: 4 kB / 0.9495 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002107/0.2932, allocations: 193.9 kB / 0.9497 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2933, allocations: 0 / 0.9497 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007469/0.294, allocations: 139.5 kB / 0.9498 GB, free: 4.578 MB / 0.5886 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.0001156/0.2941, allocations: 111.7 kB / 0.95 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.2957, allocations: 0.5071 MB / 0.9504 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2958, allocations: 0 / 0.9504 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.2963, allocations: 235.2 kB / 0.9507 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.297, allocations: 62.39 kB / 0.9507 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2983, allocations: 0.6675 MB / 0.9514 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2986, allocations: 0.7996 MB / 0.9522 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004587/0.2991, allocations: 66.22 kB / 0.9522 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.2992, allocations: 27.44 kB / 0.9523 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/0.2992, allocations: 0 / 0.9523 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of Templates: time 0.01074/0.31, allocations: 3.118 MB / 0.9553 GB, free: 14.91 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)