Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.001245/0.001245, 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.001367/0.001367, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9365/0.9365, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001626/0.001626, allocations: 234 kB / 260.2 MB, free: 12.82 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.7064/0.7064, allocations: 138.4 MB / 455.2 MB, free: 1.531 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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.503e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.003805/0.00382, allocations: 4.088 MB / 0.5591 GB, free: 12.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.005527, allocations: 1.528 MB / 0.5606 GB, free: 10.87 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.005708, allocations: 31.69 kB / 0.5606 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.006162, allocations: 178.7 kB / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.00658, allocations: 365.7 kB / 0.5611 GB, free: 10.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.006957, allocations: 319.2 kB / 0.5615 GB, free: 9.988 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.007582, allocations: 0.9825 MB / 0.5624 GB, free: 9.004 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.007966, allocations: 386.4 kB / 0.5628 GB, free: 8.621 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/0.00838, allocations: 0.5143 MB / 0.5633 GB, free: 8.105 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.008725, allocations: 374.9 kB / 0.5636 GB, free: 7.738 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.008779, allocations: 48 kB / 0.5637 GB, free: 7.691 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.008946, allocations: 135.7 kB / 0.5638 GB, free: 7.559 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.009113, allocations: 263.2 kB / 0.5641 GB, free: 7.301 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.009284, allocations: 239.4 kB / 0.5643 GB, free: 7.066 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.009988, allocations: 0.5917 MB / 0.5649 GB, free: 6.473 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.00999, allocations: 0 / 0.5649 GB, free: 6.473 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.009991, allocations: 0 / 0.5649 GB, free: 6.473 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.485e-06/0.009998, allocations: 3.938 kB / 0.5649 GB, free: 6.469 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0009062/0.0109, allocations: 0.9859 MB / 0.5658 GB, free: 5.445 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.01094, allocations: 12.75 kB / 0.5659 GB, free: 5.434 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007843/0.01172, allocations: 287.8 kB / 0.5661 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.0122, allocations: 477.7 kB / 0.5666 GB, free: 4.656 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.01222, allocations: 41.36 kB / 0.5666 GB, free: 4.613 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/0.01232, allocations: 56.55 kB / 0.5667 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.01294, allocations: 0.7902 MB / 0.5674 GB, free: 3.625 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.01296, allocations: 8.188 kB / 0.5675 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.01299, allocations: 28.11 kB / 0.5675 GB, free: 3.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.0131, allocations: 60.95 kB / 0.5675 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003641/0.01346, allocations: 285.4 kB / 0.5678 GB, free: 3.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.01608, allocations: 4.407 MB / 0.5721 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.01631, allocations: 155.8 kB / 0.5723 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.01643, allocations: 92.22 kB / 0.5724 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.01645, allocations: 8.219 kB / 0.5724 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.01647, allocations: 45.61 kB / 0.5724 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.412e-06/0.01648, allocations: 0 / 0.5724 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.002512/0.01899, allocations: 1.543 MB / 0.5739 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.01901, allocations: 59.34 kB / 0.574 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.01929, allocations: 454.5 kB / 0.5744 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.01932, allocations: 33.7 kB / 0.5744 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.01948, allocations: 395.2 kB / 0.5748 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.01956, allocations: 154.7 kB / 0.575 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.01968, allocations: 108 kB / 0.5751 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01981, allocations: 0.5352 MB / 0.5756 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.01996, allocations: 101.2 kB / 0.5757 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.0202, allocations: 351.3 kB / 0.576 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.02062, allocations: 484.4 kB / 0.5765 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02063, allocations: 4 kB / 0.5765 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008174/0.02144, allocations: 0.6367 MB / 0.5771 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.02146, allocations: 4 kB / 0.5771 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.02147, allocations: 8 kB / 0.5771 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/0.02204, allocations: 227.5 kB / 0.5773 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.02232, allocations: 115.8 kB / 0.5774 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.02527, allocations: 5.65 MB / 0.583 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.02546, allocations: 27.97 kB / 0.583 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.02549, allocations: 27.94 kB / 0.583 GB, free: 2.773 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.02562, allocations: 192.4 kB / 0.5832 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.02569, allocations: 71.67 kB / 0.5833 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.02637, allocations: 496.5 kB / 0.5837 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.02637, allocations: 8 kB / 0.5837 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.02637, allocations: 0 / 0.5837 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02638, allocations: 3.984 kB / 0.5837 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.02755, allocations: 1.06 MB / 0.5848 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.02755, allocations: 0 / 0.5848 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.02774, allocations: 71.88 kB / 0.5849 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/0.02823, allocations: 219 kB / 0.5851 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.02825, allocations: 8 kB / 0.5851 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.03101, allocations: 5.646 MB / 0.5906 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.03101, allocations: 4 kB / 0.5906 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.03181, allocations: 0.7417 MB / 0.5913 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.03192, allocations: 87.62 kB / 0.5914 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.03195, allocations: 23.98 kB / 0.5914 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.03211, allocations: 23.97 kB / 0.5914 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.03216, allocations: 39.88 kB / 0.5915 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.03218, allocations: 12 kB / 0.5915 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000169/0.03235, allocations: 287 kB / 0.5918 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.03235, allocations: 0 / 0.5918 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003795/0.03273, allocations: 172 kB / 0.5919 GB, free: 9.078 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.644e-05/0.03283, allocations: 119.1 kB / 0.592 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.03388, allocations: 0.9055 MB / 0.5929 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.03388, allocations: 4 kB / 0.5929 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.03436, allocations: 0.7433 MB / 0.5937 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.03485, allocations: 184.9 kB / 0.5938 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.03621, allocations: 1.13 MB / 0.5949 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.03632, allocations: 186.4 kB / 0.5951 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.03651, allocations: 100.7 kB / 0.5952 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.03658, allocations: 32.5 kB / 0.5952 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.03658, allocations: 0 / 0.5952 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of Templates: time 0.1672/0.2038, allocations: 9.193 MB / 0.6042 GB, free: 92.22 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.834196378942579]