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.002298/0.002298, allocations: 85.48 kB / 19.44 MB, free: 340 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.00269/0.00269, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.348 MB / 186.7 MB " [Timeout remaining time 178] 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.003281/0.003281, allocations: 233.9 kB / 259.8 MB, free: 12.7 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 1.171/1.171, allocations: 138.5 MB / 454.7 MB, free: 1.488 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.593e-06/1.593e-06, allocations: 0 / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.058e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008711/0.008742, allocations: 5.48 MB / 0.5597 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005244/0.01399, allocations: 2.681 MB / 0.5623 GB, free: 8.656 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.01433, allocations: 31.69 kB / 0.5623 GB, free: 8.625 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.01653, allocations: 0.7078 MB / 0.563 GB, free: 7.914 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.01763, allocations: 433.3 kB / 0.5634 GB, free: 7.488 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.01878, allocations: 406.7 kB / 0.5638 GB, free: 7.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.02007, allocations: 0.9747 MB / 0.5648 GB, free: 6.109 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006252/0.02069, allocations: 382.4 kB / 0.5651 GB, free: 5.734 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007931/0.02149, allocations: 0.5182 MB / 0.5657 GB, free: 5.215 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.02211, allocations: 367 kB / 0.566 GB, free: 4.855 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/0.02221, allocations: 48 kB / 0.5661 GB, free: 4.809 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.02286, allocations: 339 kB / 0.5664 GB, free: 4.477 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003283/0.02319, allocations: 267.3 kB / 0.5666 GB, free: 4.215 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.02352, allocations: 239.4 kB / 0.5669 GB, free: 3.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.02488, allocations: 1.005 MB / 0.5678 GB, free: 2.973 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.02489, allocations: 0 / 0.5678 GB, free: 2.973 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02489, allocations: 0 / 0.5678 GB, free: 2.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.0249, allocations: 0 / 0.5678 GB, free: 2.973 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.001877/0.02678, allocations: 1.052 MB / 0.5689 GB, free: 1.883 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.02682, allocations: 16.75 kB / 0.5689 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.02837, allocations: 283.9 kB / 0.5692 GB, free: 1.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009619/0.02933, allocations: 473.8 kB / 0.5696 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.02937, allocations: 41.36 kB / 0.5696 GB, free: 1.055 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.02954, allocations: 60.48 kB / 0.5697 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.03088, allocations: 0.8411 MB / 0.5705 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.03091, allocations: 12.08 kB / 0.5705 GB, free: 0 / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.03099, allocations: 28.11 kB / 0.5706 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/0.0312, allocations: 60.95 kB / 0.5706 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006944/0.03189, allocations: 323.5 kB / 0.5709 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.03706, allocations: 4.559 MB / 0.5754 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.03744, allocations: 159.8 kB / 0.5755 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.03767, allocations: 108.2 kB / 0.5756 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.03771, allocations: 12.22 kB / 0.5756 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.03774, allocations: 37.67 kB / 0.5757 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.03775, allocations: 0 / 0.5757 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.004986/0.04273, allocations: 1.649 MB / 0.5773 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.04278, allocations: 59.34 kB / 0.5773 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/0.04339, allocations: 0.5297 MB / 0.5779 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.04343, allocations: 29.7 kB / 0.5779 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.04377, allocations: 423.1 kB / 0.5783 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.04392, allocations: 150.8 kB / 0.5784 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.04414, allocations: 127.9 kB / 0.5786 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003344/0.04447, allocations: 0.5547 MB / 0.5791 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.04475, allocations: 125.2 kB / 0.5792 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.04526, allocations: 379.3 kB / 0.5796 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008389/0.0461, allocations: 0.5394 MB / 0.5801 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0461, allocations: 4 kB / 0.5801 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001576/0.04768, allocations: 0.6837 MB / 0.5808 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.04769, allocations: 4 kB / 0.5808 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.04771, allocations: 8.656 kB / 0.5808 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.04893, allocations: 250.8 kB / 0.581 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.04946, allocations: 111.9 kB / 0.5811 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.05565, allocations: 5.814 MB / 0.5868 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.05609, allocations: 27.97 kB / 0.5868 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.05614, allocations: 27.94 kB / 0.5869 GB, free: 14.35 MB / 0.5105 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.0002988/0.05644, allocations: 212.4 kB / 0.5871 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.05656, allocations: 63.67 kB / 0.5871 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.05798, allocations: 0.5318 MB / 0.5877 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.05799, allocations: 4 kB / 0.5877 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.058, allocations: 4 kB / 0.5877 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.058, allocations: 3.984 kB / 0.5877 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.06053, allocations: 1.189 MB / 0.5888 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.06053, allocations: 224 / 0.5888 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.06095, allocations: 75.89 kB / 0.5889 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.06205, allocations: 231 kB / 0.5891 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.06209, allocations: 15.94 kB / 0.5891 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006403/0.06849, allocations: 5.791 MB / 0.5948 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.0685, allocations: 4 kB / 0.5948 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.07039, allocations: 0.816 MB / 0.5956 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.07074, allocations: 87.62 kB / 0.5957 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.07082, allocations: 15.89 kB / 0.5957 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.07116, allocations: 27.97 kB / 0.5957 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.0713, allocations: 35.92 kB / 0.5958 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.07133, allocations: 12 kB / 0.5958 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000465/0.0718, allocations: 335 kB / 0.5961 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0718, allocations: 0 / 0.5961 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000843/0.07264, allocations: 168 kB / 0.5962 GB, free: 4.195 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 0.0002358/0.07287, allocations: 115.2 kB / 0.5964 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.07475, allocations: 0.9676 MB / 0.5973 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.07476, allocations: 0 / 0.5973 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.07598, allocations: 0.7706 MB / 0.5981 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009629/0.07694, allocations: 173.6 kB / 0.5982 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.0791, allocations: 1.159 MB / 0.5993 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.07951, allocations: 338 kB / 0.5997 GB, free: 492 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003002/0.07981, allocations: 96.73 kB / 0.5998 GB, free: 392 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.07993, allocations: 40.48 kB / 0.5998 GB, free: 352 kB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/0.07993, allocations: 0 / 0.5998 GB, free: 352 kB / 0.5105 GB Notification: Performance of Templates: time 0.1977/0.2776, allocations: 9.175 MB / 0.6088 GB, free: 97.13 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: 6.275864567956887]