Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.638/1.638, allocations: 291.7 MB / 306.8 MB, free: 7.75 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.001197/0.001197, allocations: 184.2 kB / 375.4 MB, free: 5.133 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.572/1.572, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0008822/0.0008819, allocations: 102.2 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004251, allocations: 8.625 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.772, allocations: 118.1 MB / 1.011 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003287/0.7754, allocations: 2.67 MB / 1.014 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.7778, allocations: 1.785 MB / 1.015 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.7779, allocations: 8 kB / 1.015 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.7781, allocations: 37.05 kB / 1.015 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.7785, allocations: 143.1 kB / 1.015 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.7789, allocations: 180.5 kB / 1.016 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.7793, allocations: 363.9 kB / 1.016 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000539/0.7798, allocations: 331.3 kB / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.78, allocations: 103.6 kB / 1.016 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.7802, allocations: 143.5 kB / 1.016 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.7802, allocations: 13.73 kB / 1.017 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.7806, allocations: 255.8 kB / 1.017 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.7807, allocations: 77.78 kB / 1.017 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.7807, allocations: 63.08 kB / 1.017 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.7811, allocations: 351 kB / 1.017 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7811, allocations: 0 / 1.017 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7811, allocations: 0 / 1.017 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.7811, allocations: 3.938 kB / 1.017 GB, free: 56.68 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.0006229/0.7817, allocations: 0.5156 MB / 1.018 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.7818, allocations: 6.188 kB / 1.018 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006609/0.7824, allocations: 112.2 kB / 1.018 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.7827, allocations: 266.8 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.7827, allocations: 12.55 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.7828, allocations: 23.06 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.7832, allocations: 352.2 kB / 1.018 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.7832, allocations: 1.031 kB / 1.018 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.7833, allocations: 12.52 kB / 1.018 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.7833, allocations: 22.95 kB / 1.019 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.7837, allocations: 298.8 kB / 1.019 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.7854, allocations: 1.738 MB / 1.02 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.7858, allocations: 325.3 kB / 1.021 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.7859, allocations: 105.6 kB / 1.021 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.853e-05/0.786, allocations: 92.19 kB / 1.021 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.786, allocations: 34.72 kB / 1.021 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.786, allocations: 0 / 1.021 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.002059/0.7881, allocations: 0.9695 MB / 1.022 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.7881, allocations: 83.52 kB / 1.022 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.7883, allocations: 211.5 kB / 1.022 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.7883, allocations: 36.45 kB / 1.022 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.7884, allocations: 174.5 kB / 1.022 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.7884, allocations: 77.72 kB / 1.023 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.7885, allocations: 5.938 kB / 1.023 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.7885, allocations: 330 kB / 1.023 GB, free: 53.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.7887, allocations: 135.1 kB / 1.023 GB, free: 53.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.7889, allocations: 214.8 kB / 1.023 GB, free: 53.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.7893, allocations: 366 kB / 1.024 GB, free: 53.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.7893, allocations: 0 / 1.024 GB, free: 53.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00072/0.7901, allocations: 0.501 MB / 1.024 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7901, allocations: 6 kB / 1.024 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7901, allocations: 3.031 kB / 1.024 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.7906, allocations: 150.7 kB / 1.024 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.7908, allocations: 60.83 kB / 1.024 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.7928, allocations: 3.969 MB / 1.028 GB, free: 49.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.793, allocations: 25.7 kB / 1.028 GB, free: 49.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.793, allocations: 10.12 kB / 1.028 GB, free: 49.51 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.0001358/0.7931, allocations: 164.1 kB / 1.028 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.7932, allocations: 23.78 kB / 1.028 GB, free: 49.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/0.7939, allocations: 480.9 kB / 1.029 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.7939, allocations: 2.906 kB / 1.029 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.7939, allocations: 0 / 1.029 GB, free: 49.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.7939, allocations: 10.12 kB / 1.029 GB, free: 49.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.7952, allocations: 1.003 MB / 1.03 GB, free: 48.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7952, allocations: 3.688 kB / 1.03 GB, free: 48.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.7953, allocations: 26.45 kB / 1.03 GB, free: 48.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.7957, allocations: 155.4 kB / 1.03 GB, free: 48.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.7957, allocations: 8.812 kB / 1.03 GB, free: 48.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.7976, allocations: 3.943 MB / 1.034 GB, free: 45.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7977, allocations: 10.34 kB / 1.034 GB, free: 45.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.7984, allocations: 0.6219 MB / 1.034 GB, free: 44.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.7985, allocations: 135.8 kB / 1.035 GB, free: 44.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.7985, allocations: 8.531 kB / 1.035 GB, free: 44.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.7987, allocations: 17.59 kB / 1.035 GB, free: 44.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.7988, allocations: 28.03 kB / 1.035 GB, free: 44.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.7988, allocations: 10.92 kB / 1.035 GB, free: 44.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001255/0.7989, allocations: 162.9 kB / 1.035 GB, free: 44.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7989, allocations: 0 / 1.035 GB, free: 44.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004955/0.7995, allocations: 84.69 kB / 1.035 GB, free: 44.71 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.0002054/0.7997, allocations: 136 kB / 1.035 GB, free: 44.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008006/0.8005, allocations: 0.5678 MB / 1.036 GB, free: 44.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8005, allocations: 0 / 1.036 GB, free: 44.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.8009, allocations: 399 kB / 1.036 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.8014, allocations: 53.52 kB / 1.036 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.8023, allocations: 0.7176 MB / 1.037 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.8025, allocations: 0.7778 MB / 1.037 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.8027, allocations: 57 kB / 1.037 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.8028, allocations: 27.19 kB / 1.038 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.8028, allocations: 4 kB / 1.038 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of Templates: time 0.007342/0.8101, allocations: 3.888 MB / 1.041 GB, free: 42.88 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)