Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.047/2.047, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.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.001027/0.001027, allocations: 175.5 kB / 393.1 MB, free: 4.09 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.67/1.67, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008614, allocations: 104.6 kB / 0.7935 GB, free: 40.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 8.906 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.6468, allocations: 121.3 MB / 1.041 GB, free: 59.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003751/0.6506, allocations: 2.689 MB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.6538, allocations: 3.336 MB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.6541, allocations: 3.906 kB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.6543, allocations: 33.59 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.6549, allocations: 183.5 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.6555, allocations: 208.2 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000474/0.656, allocations: 445.9 kB / 1.048 GB, free: 53.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006545/0.6567, allocations: 489.5 kB / 1.048 GB, free: 53.53 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.6569, allocations: 109.3 kB / 1.048 GB, free: 53.49 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.6572, allocations: 144.9 kB / 1.048 GB, free: 53.43 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.6572, allocations: 9.188 kB / 1.048 GB, free: 53.43 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007436/0.658, allocations: 451.3 kB / 1.049 GB, free: 53.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.6581, allocations: 83.09 kB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.6582, allocations: 132.6 kB / 1.049 GB, free: 53.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.6588, allocations: 493.3 kB / 1.049 GB, free: 53.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6588, allocations: 0.9688 kB / 1.049 GB, free: 53.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6588, allocations: 0.8125 kB / 1.049 GB, free: 53.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6588, allocations: 0.9688 kB / 1.049 GB, free: 53.03 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.0008303/0.6597, allocations: 0.5151 MB / 1.05 GB, free: 52.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.6597, allocations: 10.12 kB / 1.05 GB, free: 52.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/0.6605, allocations: 116.3 kB / 1.05 GB, free: 52.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.6608, allocations: 256.9 kB / 1.05 GB, free: 52.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.6608, allocations: 18.22 kB / 1.05 GB, free: 52.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.6609, allocations: 21.23 kB / 1.05 GB, free: 52.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.6614, allocations: 359.2 kB / 1.051 GB, free: 52.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6614, allocations: 0 / 1.051 GB, free: 52.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.6614, allocations: 7.062 kB / 1.051 GB, free: 52.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-05/0.6615, allocations: 27.16 kB / 1.051 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.6619, allocations: 296.8 kB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.6638, allocations: 1.734 MB / 1.053 GB, free: 50.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.6642, allocations: 333.1 kB / 1.053 GB, free: 50.33 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.6644, allocations: 105.6 kB / 1.053 GB, free: 50.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.834e-05/0.6645, allocations: 84.3 kB / 1.053 GB, free: 50.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6645, allocations: 36.67 kB / 1.053 GB, free: 50.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.6645, allocations: 0 / 1.053 GB, free: 50.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002342/0.6668, allocations: 0.966 MB / 1.054 GB, free: 49.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.6669, allocations: 91.61 kB / 1.054 GB, free: 49.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.6671, allocations: 217.1 kB / 1.054 GB, free: 49.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.6671, allocations: 27.05 kB / 1.054 GB, free: 49.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.6672, allocations: 167.6 kB / 1.055 GB, free: 49.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.6673, allocations: 78.5 kB / 1.055 GB, free: 49.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.6673, allocations: 4 kB / 1.055 GB, free: 49.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.6674, allocations: 333.5 kB / 1.055 GB, free: 48.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.6676, allocations: 131.5 kB / 1.055 GB, free: 48.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.6678, allocations: 209.4 kB / 1.055 GB, free: 48.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.6682, allocations: 355 kB / 1.056 GB, free: 48.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6682, allocations: 1.406 kB / 1.056 GB, free: 48.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007856/0.669, allocations: 0.5205 MB / 1.056 GB, free: 48.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.669, allocations: 11.22 kB / 1.056 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.669, allocations: 4.156 kB / 1.056 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/0.6695, allocations: 146.8 kB / 1.056 GB, free: 48.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.6698, allocations: 62.2 kB / 1.056 GB, free: 48.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.672, allocations: 3.964 MB / 1.06 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.6722, allocations: 20.78 kB / 1.06 GB, free: 44.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.6723, allocations: 11.88 kB / 1.06 GB, free: 44.35 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.0001496/0.6724, allocations: 165 kB / 1.06 GB, free: 44.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.6725, allocations: 20.69 kB / 1.06 GB, free: 44.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007777/0.6733, allocations: 475.1 kB / 1.061 GB, free: 43.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6733, allocations: 4.594 kB / 1.061 GB, free: 43.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6733, allocations: 0 / 1.061 GB, free: 43.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6733, allocations: 10.52 kB / 1.061 GB, free: 43.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.6747, allocations: 1.001 MB / 1.062 GB, free: 43.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6747, allocations: 1.812 kB / 1.062 GB, free: 43.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.6748, allocations: 32.64 kB / 1.062 GB, free: 43.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/0.6752, allocations: 159.4 kB / 1.062 GB, free: 43.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.6752, allocations: 7.406 kB / 1.062 GB, free: 43.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.6771, allocations: 3.946 MB / 1.066 GB, free: 39.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6771, allocations: 7.156 kB / 1.066 GB, free: 39.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.6778, allocations: 0.6234 MB / 1.067 GB, free: 39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.6779, allocations: 131.9 kB / 1.067 GB, free: 38.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.6779, allocations: 4.812 kB / 1.067 GB, free: 38.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.6782, allocations: 25.52 kB / 1.067 GB, free: 38.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.6782, allocations: 21.11 kB / 1.067 GB, free: 38.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.6782, allocations: 17.02 kB / 1.067 GB, free: 38.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001209/0.6784, allocations: 156.6 kB / 1.067 GB, free: 38.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6784, allocations: 3.938 kB / 1.067 GB, free: 38.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004747/0.6789, allocations: 91.89 kB / 1.067 GB, free: 38.73 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.0001959/0.6791, allocations: 132.3 kB / 1.067 GB, free: 38.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007924/0.6799, allocations: 0.567 MB / 1.068 GB, free: 38.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6799, allocations: 0 / 1.068 GB, free: 38.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.6803, allocations: 399.1 kB / 1.068 GB, free: 38.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.6808, allocations: 48.56 kB / 1.068 GB, free: 38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.6817, allocations: 0.7646 MB / 1.069 GB, free: 37.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.682, allocations: 0.7728 MB / 1.07 GB, free: 36.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000166/0.6821, allocations: 63.56 kB / 1.07 GB, free: 36.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.6822, allocations: 20.44 kB / 1.07 GB, free: 36.77 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/0.6822, allocations: 0 / 1.07 GB, free: 36.77 MB / 0.698 GB Notification: Performance of Templates: time 0.007122/0.6893, allocations: 3.95 MB / 1.074 GB, free: 36.52 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)