Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006724/0.0006724, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009292/0.001602, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002428, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9209/0.9209, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1139/1.035, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.84/1.84, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4785/2.319, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.604e-05, allocations: 3.656 kB / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006831/0.006857, allocations: 2.695 MB / 0.7474 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0054/0.01226, allocations: 1.592 MB / 0.749 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.01245, allocations: 7.938 kB / 0.749 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.01295, allocations: 180.2 kB / 0.7492 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.01331, allocations: 188.8 kB / 0.7493 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.01388, allocations: 232.2 kB / 0.7496 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.01437, allocations: 358.7 kB / 0.7499 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.01464, allocations: 156.1 kB / 0.75 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.01495, allocations: 211.5 kB / 0.7502 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003317/0.01827, allocations: 154.6 kB / 0.7504 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.01831, allocations: 20 kB / 0.7504 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.0189, allocations: 319.3 kB / 0.7507 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.019, allocations: 87.77 kB / 0.7508 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.01908, allocations: 71.81 kB / 0.7509 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.01961, allocations: 346.9 kB / 0.7512 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.01963, allocations: 0 / 0.7512 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01963, allocations: 0 / 0.7512 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.01964, allocations: 3.906 kB / 0.7512 GB, free: 12.71 MB / 0.7292 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.0008503/0.02049, allocations: 0.5267 MB / 0.7517 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.02052, allocations: 8.031 kB / 0.7517 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/0.02423, allocations: 221.7 kB / 0.7519 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.02452, allocations: 181.5 kB / 0.7521 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.02454, allocations: 23.39 kB / 0.7521 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.02457, allocations: 16.38 kB / 0.7522 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.0249, allocations: 275.9 kB / 0.7524 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.02491, allocations: 192 / 0.7524 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.02494, allocations: 4.375 kB / 0.7524 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.02498, allocations: 28.42 kB / 0.7524 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.02514, allocations: 88 kB / 0.7525 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.02634, allocations: 1.032 MB / 0.7535 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.02659, allocations: 178.7 kB / 0.7537 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.02665, allocations: 37.7 kB / 0.7537 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.141e-05/0.0267, allocations: 11.98 kB / 0.7538 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.02673, allocations: 34.56 kB / 0.7538 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.02673, allocations: 0 / 0.7538 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.003732/0.03046, allocations: 250.5 kB / 0.754 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.03049, allocations: 81.98 kB / 0.7541 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.03064, allocations: 201.6 kB / 0.7543 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.03065, allocations: 26.3 kB / 0.7543 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.03073, allocations: 164.1 kB / 0.7545 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.03076, allocations: 56.23 kB / 0.7545 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-05/0.03084, allocations: 57.61 kB / 0.7546 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.03093, allocations: 331.7 kB / 0.7549 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.605e-05/0.03098, allocations: 19.98 kB / 0.7549 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.03131, allocations: 105.9 kB / 0.755 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.03148, allocations: 156.8 kB / 0.7552 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.03148, allocations: 0.6875 kB / 0.7552 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003239/0.0318, allocations: 199.1 kB / 0.7554 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.03182, allocations: 14.52 kB / 0.7554 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.03183, allocations: 0 / 0.7554 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/0.03213, allocations: 86.53 kB / 0.7555 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.0323, allocations: 55.91 kB / 0.7555 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.03425, allocations: 1.726 MB / 0.7572 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.03437, allocations: 27.78 kB / 0.7572 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.03439, allocations: 4.688 kB / 0.7572 GB, free: 6.105 MB / 0.7292 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.03449, allocations: 129.5 kB / 0.7574 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.03455, allocations: 20.45 kB / 0.7574 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.03486, allocations: 164.2 kB / 0.7575 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.03486, allocations: 4 kB / 0.7575 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.03486, allocations: 4.469 kB / 0.7575 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.03487, allocations: 3.984 kB / 0.7575 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.0355, allocations: 0.5135 MB / 0.758 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.03551, allocations: 4 kB / 0.758 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.03559, allocations: 33.11 kB / 0.7581 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.03564, allocations: 35.81 kB / 0.7581 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.03586, allocations: 70.09 kB / 0.7582 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.03588, allocations: 11.98 kB / 0.7582 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008856/0.03676, allocations: 1.737 MB / 0.7599 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.03676, allocations: 0 / 0.7599 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.03712, allocations: 452.2 kB / 0.7603 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.03714, allocations: 7.984 kB / 0.7603 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.03728, allocations: 8.875 kB / 0.7603 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.03731, allocations: 15.92 kB / 0.7604 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.03732, allocations: 12.77 kB / 0.7604 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.027e-05/0.03738, allocations: 52.81 kB / 0.7604 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03738, allocations: 0.9375 kB / 0.7604 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002907/0.03768, allocations: 83.78 kB / 0.7605 GB, free: 2.516 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001538/0.03783, allocations: 114.8 kB / 0.7606 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.03812, allocations: 244.3 kB / 0.7608 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.03813, allocations: 0 / 0.7608 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.03829, allocations: 241.9 kB / 0.7611 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.03864, allocations: 267.1 kB / 0.7613 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.04102, allocations: 499.5 kB / 0.7618 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.266e-05/0.04109, allocations: 97.39 kB / 0.7619 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.661e-05/0.04117, allocations: 25.23 kB / 0.7619 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.04127, allocations: 81.8 kB / 0.762 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of SimCode: time 8.71e-07/0.04127, allocations: 0 / 0.762 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of Templates: time 0.005504/0.04678, allocations: 3.225 MB / 0.7651 GB, free: 13.78 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.820603519678116]