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.0007755/0.0007755, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0008531/0.0008531, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8641/0.8641, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001399/0.001399, allocations: 230.1 kB / 260.2 MB, free: 13.03 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.667/0.667, allocations: 138.4 MB / 455.1 MB, free: 30.03 MB / 410.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.293e-06/1.293e-06, allocations: 0 / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.701e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.2168/0.2168, allocations: 5.21 MB / 0.6526 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.2191, allocations: 2.566 MB / 0.6551 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.2193, allocations: 32.31 kB / 0.6551 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000871/0.2202, allocations: 0.6897 MB / 0.6558 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.2207, allocations: 434.2 kB / 0.6562 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.2211, allocations: 397.1 kB / 0.6566 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.2218, allocations: 0.9887 MB / 0.6576 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.2221, allocations: 385.6 kB / 0.6579 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.2226, allocations: 0.5105 MB / 0.6584 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.2229, allocations: 370.1 kB / 0.6588 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.223, allocations: 47.56 kB / 0.6588 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.2233, allocations: 338.5 kB / 0.6592 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.2235, allocations: 262.4 kB / 0.6594 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.2236, allocations: 241.8 kB / 0.6596 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007304/0.2244, allocations: 0.9958 MB / 0.6606 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2244, allocations: 0 / 0.6606 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2244, allocations: 0 / 0.6606 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2244, allocations: 0 / 0.6606 GB, free: 50.99 MB / 0.5573 GB 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.0008937/0.2253, allocations: 0.9092 MB / 0.6615 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.2253, allocations: 10.44 kB / 0.6615 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007187/0.226, allocations: 201.8 kB / 0.6617 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.2265, allocations: 454.6 kB / 0.6621 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.2265, allocations: 33.12 kB / 0.6622 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.713e-05/0.2266, allocations: 60.81 kB / 0.6622 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.2273, allocations: 0.9786 MB / 0.6632 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2274, allocations: 1.938 kB / 0.6632 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.2274, allocations: 28.25 kB / 0.6632 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.2275, allocations: 64.73 kB / 0.6633 GB, free: 49.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.2281, allocations: 0.5773 MB / 0.6638 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.23, allocations: 3.474 MB / 0.6672 GB, free: 46.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.2303, allocations: 274.5 kB / 0.6675 GB, free: 46.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2305, allocations: 213.6 kB / 0.6677 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2305, allocations: 7.906 kB / 0.6677 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.2305, allocations: 36.59 kB / 0.6677 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.2305, allocations: 3.125 kB / 0.6677 GB, free: 46.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40): time 0.002904/0.2334, allocations: 2.331 MB / 0.67 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.2335, allocations: 57 kB / 0.6701 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.2337, allocations: 428.5 kB / 0.6705 GB, free: 44.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2337, allocations: 31.27 kB / 0.6705 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.2338, allocations: 355.2 kB / 0.6709 GB, free: 44.55 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.2339, allocations: 150.7 kB / 0.671 GB, free: 44.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.234, allocations: 103.4 kB / 0.6711 GB, free: 44.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.234, allocations: 362.7 kB / 0.6714 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.2342, allocations: 238 kB / 0.6717 GB, free: 43.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.2345, allocations: 407.3 kB / 0.6721 GB, free: 43.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.235, allocations: 0.675 MB / 0.6727 GB, free: 43.24 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.235, allocations: 6 kB / 0.6727 GB, free: 43.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008867/0.2359, allocations: 0.9127 MB / 0.6736 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2359, allocations: 7.406 kB / 0.6736 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.2359, allocations: 3.656 kB / 0.6736 GB, free: 42.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/0.2363, allocations: 226.2 kB / 0.6738 GB, free: 42.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.2366, allocations: 115.2 kB / 0.674 GB, free: 42.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.2388, allocations: 4.938 MB / 0.6788 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.239, allocations: 38.22 kB / 0.6788 GB, free: 38.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.239, allocations: 34.09 kB / 0.6788 GB, free: 38.59 MB / 0.5573 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.0001488/0.2391, allocations: 226.2 kB / 0.6791 GB, free: 38.42 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.2392, allocations: 53.33 kB / 0.6791 GB, free: 38.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008073/0.24, allocations: 0.7639 MB / 0.6799 GB, free: 38.06 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.24, allocations: 6.25 kB / 0.6799 GB, free: 38.06 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.24, allocations: 3.219 kB / 0.6799 GB, free: 38.06 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.24, allocations: 2.625 kB / 0.6799 GB, free: 38.06 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.2413, allocations: 1.324 MB / 0.6812 GB, free: 37.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2413, allocations: 3.25 kB / 0.6812 GB, free: 37.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.2415, allocations: 66.45 kB / 0.6812 GB, free: 37.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/0.2418, allocations: 205.9 kB / 0.6814 GB, free: 37.31 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.2419, allocations: 13.23 kB / 0.6814 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.2442, allocations: 4.863 MB / 0.6862 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2442, allocations: 6.188 kB / 0.6862 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.2453, allocations: 1.115 MB / 0.6873 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2454, allocations: 87.62 kB / 0.6874 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.2455, allocations: 18.81 kB / 0.6874 GB, free: 32.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.2456, allocations: 23.8 kB / 0.6874 GB, free: 32.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.2457, allocations: 38 kB / 0.6874 GB, free: 32.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.2457, allocations: 17.16 kB / 0.6875 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001825/0.2459, allocations: 285.2 kB / 0.6877 GB, free: 32.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2459, allocations: 4.062 kB / 0.6877 GB, free: 32.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004073/0.2463, allocations: 164.7 kB / 0.6879 GB, free: 32.39 MB / 0.5573 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.539e-05/0.2464, allocations: 114.9 kB / 0.688 GB, free: 32.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008995/0.2473, allocations: 0.9658 MB / 0.6889 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2473, allocations: 1.281 kB / 0.6889 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.2478, allocations: 0.6674 MB / 0.6896 GB, free: 31.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.2483, allocations: 179.1 kB / 0.6898 GB, free: 31.22 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2495, allocations: 1.253 MB / 0.691 GB, free: 30.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.2498, allocations: 351.8 kB / 0.6913 GB, free: 30.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.2499, allocations: 40.53 kB / 0.6914 GB, free: 30.38 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/0.2499, allocations: 0 / 0.6914 GB, free: 30.38 MB / 0.5573 GB Notification: Performance of Templates: time 0.01138/0.2613, allocations: 14.95 MB / 0.706 GB, free: 25 MB / 0.5573 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.323134679347277] Failed to read output from testmodel.py, exit status != 0: 0.26636661030352116 0.27382686700000003 0.047989078000000004 Calling exit ...