Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") 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.769/1.769, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.001069/0.001069, allocations: 182 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.569/1.569, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0008946/0.0008947, allocations: 99.67 kB / 0.7789 GB, free: 46.82 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004066, allocations: 12 kB / 0.9058 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6379/0.6384, allocations: 119.2 MB / 1.022 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.0035/0.6419, allocations: 2.684 MB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003487/0.6454, allocations: 3.339 MB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.6456, allocations: 2.625 kB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.6458, allocations: 36.02 kB / 1.028 GB, free: 52.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.6463, allocations: 181.9 kB / 1.028 GB, free: 52.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.647, allocations: 217.1 kB / 1.029 GB, free: 52.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.6475, allocations: 449.8 kB / 1.029 GB, free: 52.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.6484, allocations: 486 kB / 1.029 GB, free: 52.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.6486, allocations: 104.4 kB / 1.03 GB, free: 52.19 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.6489, allocations: 153 kB / 1.03 GB, free: 52.13 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.649, allocations: 11.31 kB / 1.03 GB, free: 52.13 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.6497, allocations: 449.8 kB / 1.03 GB, free: 51.99 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.6498, allocations: 72.11 kB / 1.03 GB, free: 51.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.6499, allocations: 134.2 kB / 1.03 GB, free: 51.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.6505, allocations: 497.3 kB / 1.031 GB, free: 51.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6505, allocations: 0 / 1.031 GB, free: 51.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6505, allocations: 1.594 kB / 1.031 GB, free: 51.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.6506, allocations: 0 / 1.031 GB, free: 51.73 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007451/0.6513, allocations: 0.5133 MB / 1.031 GB, free: 51.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6514, allocations: 8.875 kB / 1.031 GB, free: 51.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/0.6521, allocations: 110.7 kB / 1.031 GB, free: 51.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.6524, allocations: 270.6 kB / 1.032 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.6524, allocations: 13.03 kB / 1.032 GB, free: 50.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.6525, allocations: 16.34 kB / 1.032 GB, free: 50.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.653, allocations: 356.9 kB / 1.032 GB, free: 50.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.6531, allocations: 6.375 kB / 1.032 GB, free: 50.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.6531, allocations: 7.406 kB / 1.032 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.6531, allocations: 23.08 kB / 1.032 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.6536, allocations: 296.2 kB / 1.032 GB, free: 50.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.6554, allocations: 1.743 MB / 1.034 GB, free: 49.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.6558, allocations: 323.9 kB / 1.034 GB, free: 49.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.6559, allocations: 100 kB / 1.034 GB, free: 48.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.6561, allocations: 85.73 kB / 1.035 GB, free: 48.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.6561, allocations: 42.59 kB / 1.035 GB, free: 48.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.6561, allocations: 4 kB / 1.035 GB, free: 48.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002243/0.6584, allocations: 0.9635 MB / 1.036 GB, free: 48.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.6584, allocations: 89.38 kB / 1.036 GB, free: 48.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.6586, allocations: 219.5 kB / 1.036 GB, free: 48.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.6586, allocations: 29.7 kB / 1.036 GB, free: 48.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.6587, allocations: 165.1 kB / 1.036 GB, free: 47.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.6587, allocations: 75.88 kB / 1.036 GB, free: 47.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.6588, allocations: 5.062 kB / 1.036 GB, free: 47.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.6588, allocations: 333.9 kB / 1.036 GB, free: 47.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.659, allocations: 132 kB / 1.037 GB, free: 47.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.6592, allocations: 202.8 kB / 1.037 GB, free: 47.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.6596, allocations: 375 kB / 1.037 GB, free: 47.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6596, allocations: 0 / 1.037 GB, free: 47.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007575/0.6604, allocations: 0.5064 MB / 1.038 GB, free: 46.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6604, allocations: 9.344 kB / 1.038 GB, free: 46.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6604, allocations: 7.75 kB / 1.038 GB, free: 46.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004695/0.6609, allocations: 149.6 kB / 1.038 GB, free: 46.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.6612, allocations: 58.27 kB / 1.038 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.6632, allocations: 3.976 MB / 1.042 GB, free: 43.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.6634, allocations: 14.95 kB / 1.042 GB, free: 43.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.6634, allocations: 16.23 kB / 1.042 GB, free: 43.05 MB / 0.698 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.6636, allocations: 170.1 kB / 1.042 GB, free: 42.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.6636, allocations: 22.47 kB / 1.042 GB, free: 42.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/0.6644, allocations: 471.9 kB / 1.042 GB, free: 42.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6644, allocations: 2.875 kB / 1.042 GB, free: 42.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6644, allocations: 3.938 kB / 1.042 GB, free: 42.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6644, allocations: 5.953 kB / 1.042 GB, free: 42.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.6657, allocations: 0.994 MB / 1.043 GB, free: 42.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6657, allocations: 2.75 kB / 1.043 GB, free: 42.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.6659, allocations: 43.25 kB / 1.043 GB, free: 42.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/0.6662, allocations: 149.8 kB / 1.044 GB, free: 41.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.6663, allocations: 10.12 kB / 1.044 GB, free: 41.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.6682, allocations: 3.939 MB / 1.047 GB, free: 38.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6682, allocations: 3.656 kB / 1.047 GB, free: 38.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.6689, allocations: 0.6256 MB / 1.048 GB, free: 37.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.669, allocations: 134.3 kB / 1.048 GB, free: 37.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.669, allocations: 12.8 kB / 1.048 GB, free: 37.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.6692, allocations: 16.34 kB / 1.048 GB, free: 37.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.6693, allocations: 25.3 kB / 1.048 GB, free: 37.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.6693, allocations: 13.7 kB / 1.048 GB, free: 37.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001266/0.6695, allocations: 161.8 kB / 1.048 GB, free: 37.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.22e-07/0.6695, allocations: 0 / 1.048 GB, free: 37.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005218/0.67, allocations: 87.91 kB / 1.048 GB, free: 37.46 MB / 0.698 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.6703, allocations: 143.7 kB / 1.049 GB, free: 37.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000961/0.6712, allocations: 0.5639 MB / 1.049 GB, free: 37.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6712, allocations: 1.125 kB / 1.049 GB, free: 37.01 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.6717, allocations: 399.7 kB / 1.05 GB, free: 36.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.6724, allocations: 40.2 kB / 1.05 GB, free: 36.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.6736, allocations: 0.7662 MB / 1.05 GB, free: 36.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.6739, allocations: 0.7793 MB / 1.051 GB, free: 35.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.6741, allocations: 54.12 kB / 1.051 GB, free: 35.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.6741, allocations: 25.5 kB / 1.051 GB, free: 35.48 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.6742, allocations: 0 / 1.051 GB, free: 35.48 MB / 0.698 GB Notification: Performance of Templates: time 0.007955/0.6821, allocations: 3.943 MB / 1.055 GB, free: 35.24 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)