Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008306/0.0008306, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009119/0.0009119, allocations: 169.3 kB / 23.03 MB, free: 1.547 MB / 18.57 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.9263/0.9263, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001603/0.001603, allocations: 226 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6634/0.6634, allocations: 138.4 MB / 455.2 MB, free: 1.477 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.656e-05, allocations: 5.547 kB / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002881/0.002907, allocations: 2.608 MB / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.004894, allocations: 1.551 MB / 0.5592 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.005004, allocations: 4 kB / 0.5592 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.005439, allocations: 139.3 kB / 0.5593 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.005746, allocations: 171.1 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.006186, allocations: 246.9 kB / 0.5597 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.006462, allocations: 334.8 kB / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.006691, allocations: 153 kB / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.006892, allocations: 191.6 kB / 0.5603 GB, free: 11.1 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.007098, allocations: 143.5 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.007126, allocations: 24 kB / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.007491, allocations: 315.3 kB / 0.5608 GB, free: 10.62 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.007567, allocations: 91.73 kB / 0.5609 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.007635, allocations: 83.77 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.00804, allocations: 382.8 kB / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.008043, allocations: 0 / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.008045, allocations: 0 / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.00805, allocations: 0 / 0.5613 GB, free: 10.08 MB / 490.7 MB 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.0005853/0.008635, allocations: 0.5893 MB / 0.5619 GB, free: 9.449 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.008669, allocations: 16.75 kB / 0.5619 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005184/0.009188, allocations: 164.5 kB / 0.5621 GB, free: 9.273 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.009423, allocations: 201.2 kB / 0.5623 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.009438, allocations: 20.86 kB / 0.5623 GB, free: 9.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.009465, allocations: 20.38 kB / 0.5623 GB, free: 9.012 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.009787, allocations: 294.1 kB / 0.5626 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.009797, allocations: 4.188 kB / 0.5626 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.009819, allocations: 12.36 kB / 0.5626 GB, free: 8.664 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.009859, allocations: 28.42 kB / 0.5626 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.01004, allocations: 130.8 kB / 0.5628 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01125, allocations: 1.387 MB / 0.5641 GB, free: 7.055 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.0115, allocations: 181.9 kB / 0.5643 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.01157, allocations: 51.36 kB / 0.5643 GB, free: 6.793 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.01162, allocations: 11.98 kB / 0.5644 GB, free: 6.781 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.01165, allocations: 37.39 kB / 0.5644 GB, free: 6.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.01165, allocations: 0 / 0.5644 GB, free: 6.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001156/0.01281, allocations: 0.5535 MB / 0.5649 GB, free: 6.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.01284, allocations: 92.97 kB / 0.565 GB, free: 6.051 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.01298, allocations: 257.5 kB / 0.5653 GB, free: 5.781 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.013, allocations: 33.73 kB / 0.5653 GB, free: 5.742 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.01308, allocations: 215.2 kB / 0.5655 GB, free: 5.527 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.01312, allocations: 83.33 kB / 0.5656 GB, free: 5.445 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.0132, allocations: 67.31 kB / 0.5656 GB, free: 5.371 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003772/0.01357, allocations: 0.5078 MB / 0.5661 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.01365, allocations: 47.97 kB / 0.5662 GB, free: 4.805 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.01379, allocations: 164.4 kB / 0.5663 GB, free: 4.598 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.014, allocations: 236.3 kB / 0.5666 GB, free: 4.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.014, allocations: 0 / 0.5666 GB, free: 4.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004318/0.01443, allocations: 343.3 kB / 0.5669 GB, free: 3.965 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.01445, allocations: 8 kB / 0.5669 GB, free: 3.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01446, allocations: 4 kB / 0.5669 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.01481, allocations: 142.7 kB / 0.567 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.01496, allocations: 55.91 kB / 0.5671 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.01691, allocations: 5.115 MB / 0.5721 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.01701, allocations: 19.97 kB / 0.5721 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.01703, allocations: 12.19 kB / 0.5721 GB, free: 14.29 MB / 0.4948 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.0001078/0.01714, allocations: 188.5 kB / 0.5723 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.01718, allocations: 23.86 kB / 0.5723 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.01759, allocations: 290.1 kB / 0.5726 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01759, allocations: 4 kB / 0.5726 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.0176, allocations: 0 / 0.5726 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.0176, allocations: 3.984 kB / 0.5726 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.01864, allocations: 0.7392 MB / 0.5733 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01865, allocations: 256 / 0.5733 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.01871, allocations: 35.98 kB / 0.5734 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/0.01898, allocations: 130.6 kB / 0.5735 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.01899, allocations: 19.94 kB / 0.5735 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.02075, allocations: 5.114 MB / 0.5785 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.02075, allocations: 0 / 0.5785 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.02118, allocations: 0.5887 MB / 0.5791 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.02124, allocations: 39.88 kB / 0.5791 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.02126, allocations: 8 kB / 0.5791 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.02137, allocations: 19.98 kB / 0.5791 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.02142, allocations: 28.02 kB / 0.5792 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.02143, allocations: 11.94 kB / 0.5792 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.067e-05/0.02152, allocations: 184.1 kB / 0.5794 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02152, allocations: 3.938 kB / 0.5794 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003575/0.02188, allocations: 95.86 kB / 0.5795 GB, free: 6.246 MB / 0.4948 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.000185/0.02206, allocations: 147.1 kB / 0.5796 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000881/0.02294, allocations: 0.5561 MB / 0.5801 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.02295, allocations: 0 / 0.5801 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.02323, allocations: 460.3 kB / 0.5806 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.02358, allocations: 48.52 kB / 0.5806 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.02461, allocations: 0.5684 MB / 0.5812 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.849e-05/0.02468, allocations: 112.2 kB / 0.5813 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.02479, allocations: 50.23 kB / 0.5813 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.02484, allocations: 24.5 kB / 0.5814 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of SimCode: time 1.323e-06/0.02484, allocations: 0 / 0.5814 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of Templates: time 0.006419/0.03126, allocations: 4.422 MB / 0.5857 GB, free: 15.77 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4973681452684104]