Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") 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.804/1.804, 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.0012/0.001201, allocations: 184.8 kB / 376.5 MB, free: 4.43 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.755/1.755, allocations: 225.7 MB / 0.655 GB, free: 13.16 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.001076/0.001076, allocations: 99.39 kB / 0.7711 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004187, allocations: 16 kB / 0.897 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7614, allocations: 118.2 MB / 1.012 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003194/0.7646, allocations: 2.661 MB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.7671, allocations: 1.758 MB / 1.017 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.7673, allocations: 6.969 kB / 1.017 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.7674, allocations: 36.31 kB / 1.017 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.7679, allocations: 170.2 kB / 1.017 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.7684, allocations: 199.5 kB / 1.017 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.7687, allocations: 371.9 kB / 1.017 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.7693, allocations: 327.9 kB / 1.018 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.7694, allocations: 111.4 kB / 1.018 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.7697, allocations: 141.7 kB / 1.018 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.7697, allocations: 10.22 kB / 1.018 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.7703, allocations: 452.5 kB / 1.018 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.7703, allocations: 74.09 kB / 1.019 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.643e-05/0.7704, allocations: 129.5 kB / 1.019 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.7708, allocations: 361.7 kB / 1.019 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7709, allocations: 0 / 1.019 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7709, allocations: 4.672 kB / 1.019 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7709, allocations: 0 / 1.019 GB, free: 56.8 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006989/0.7716, allocations: 0.5138 MB / 1.02 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7716, allocations: 17.03 kB / 1.02 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007274/0.7724, allocations: 113.1 kB / 1.02 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.7726, allocations: 264.2 kB / 1.02 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.7727, allocations: 18.73 kB / 1.02 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.7727, allocations: 18.67 kB / 1.02 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.7732, allocations: 348.4 kB / 1.02 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.7732, allocations: 8.219 kB / 1.02 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.7732, allocations: 9.5 kB / 1.02 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.7733, allocations: 29.75 kB / 1.02 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.7737, allocations: 291.2 kB / 1.021 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.7754, allocations: 1.737 MB / 1.022 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.7758, allocations: 321.5 kB / 1.023 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.776, allocations: 112.8 kB / 1.023 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/0.776, allocations: 86.08 kB / 1.023 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.7761, allocations: 41.94 kB / 1.023 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.7761, allocations: 0 / 1.023 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.002169/0.7783, allocations: 0.9679 MB / 1.024 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.7783, allocations: 91.52 kB / 1.024 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.7785, allocations: 214.2 kB / 1.024 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.7785, allocations: 28.55 kB / 1.024 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.7786, allocations: 170.5 kB / 1.024 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.7786, allocations: 80.97 kB / 1.024 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.7786, allocations: 4.5 kB / 1.024 GB, free: 53.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.7787, allocations: 328.8 kB / 1.025 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.7789, allocations: 135 kB / 1.025 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.7791, allocations: 205.5 kB / 1.025 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.7795, allocations: 366.8 kB / 1.025 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7795, allocations: 2.75 kB / 1.025 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007885/0.7803, allocations: 0.5065 MB / 1.026 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.7803, allocations: 5.75 kB / 1.026 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.7803, allocations: 4.375 kB / 1.026 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/0.7808, allocations: 151.2 kB / 1.026 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.781, allocations: 57.27 kB / 1.026 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.7831, allocations: 3.971 MB / 1.03 GB, free: 49.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.7833, allocations: 16.41 kB / 1.03 GB, free: 49.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.7834, allocations: 13.94 kB / 1.03 GB, free: 49.63 MB / 0.7136 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.7835, allocations: 169.9 kB / 1.03 GB, free: 49.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.7836, allocations: 18.25 kB / 1.03 GB, free: 49.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.7844, allocations: 479 kB / 1.031 GB, free: 49.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.7844, allocations: 4.438 kB / 1.031 GB, free: 49.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.7844, allocations: 3.938 kB / 1.031 GB, free: 49.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7844, allocations: 6.906 kB / 1.031 GB, free: 49.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.7858, allocations: 0.9968 MB / 1.032 GB, free: 48.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7858, allocations: 2.844 kB / 1.032 GB, free: 48.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.7859, allocations: 41.3 kB / 1.032 GB, free: 48.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003687/0.7863, allocations: 149.6 kB / 1.032 GB, free: 48.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.7863, allocations: 10.09 kB / 1.032 GB, free: 48.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.7884, allocations: 3.949 MB / 1.036 GB, free: 45.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7884, allocations: 3 kB / 1.036 GB, free: 45.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.7892, allocations: 0.6141 MB / 1.036 GB, free: 45.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.7893, allocations: 137.2 kB / 1.036 GB, free: 44.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.7894, allocations: 14.03 kB / 1.036 GB, free: 44.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.7896, allocations: 18.94 kB / 1.036 GB, free: 44.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.7896, allocations: 20.59 kB / 1.036 GB, free: 44.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.7897, allocations: 9.609 kB / 1.036 GB, free: 44.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001413/0.7898, allocations: 165.3 kB / 1.037 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7898, allocations: 0 / 1.037 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004942/0.7903, allocations: 85.78 kB / 1.037 GB, free: 44.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002215/0.7905, allocations: 142.2 kB / 1.037 GB, free: 44.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000873/0.7914, allocations: 0.5687 MB / 1.037 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7914, allocations: 0 / 1.037 GB, free: 44.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.7919, allocations: 396.3 kB / 1.038 GB, free: 44.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.7924, allocations: 47.12 kB / 1.038 GB, free: 44.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.7933, allocations: 0.7168 MB / 1.038 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.7936, allocations: 0.785 MB / 1.039 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.7938, allocations: 59.09 kB / 1.039 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.7939, allocations: 19.03 kB / 1.039 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7939, allocations: 1.375 kB / 1.039 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of Templates: time 0.007866/0.8017, allocations: 3.891 MB / 1.043 GB, free: 42.99 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)