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.0006318/0.0006318, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009083/0.00154, allocations: 444 kB / 10.41 MB, free: 276 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.0006658/0.0006658, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008461/0.001512, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.8889/0.8889, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08167/0.9705, 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/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001378/0.001378, allocations: 241.6 kB / 244.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002552, allocations: 471.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6799/0.6799, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0738/0.7537, allocations: 42.4 MB / 426.7 MB, free: 5.828 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.814e-06/1.814e-06, allocations: 0 / 428 MB, free: 4.492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.358e-05, allocations: 2.312 kB / 428.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006193/0.006227, allocations: 4.154 MB / 432.2 MB, free: 316 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.209/0.2153, allocations: 1.573 MB / 433.8 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.2156, allocations: 33.03 kB / 433.8 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005375/0.2161, allocations: 194.8 kB / 434 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006997/0.2168, allocations: 415.7 kB / 434.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.2175, allocations: 320.2 kB / 434.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000913/0.2184, allocations: 1.045 MB / 435.8 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005043/0.2189, allocations: 382 kB / 436.1 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.2196, allocations: 0.568 MB / 436.7 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006039/0.2202, allocations: 407 kB / 437.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-05/0.2203, allocations: 49.66 kB / 437.2 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.2206, allocations: 135.6 kB / 437.3 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.2208, allocations: 237.2 kB / 437.5 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.2211, allocations: 201.8 kB / 437.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.2218, allocations: 0.5492 MB / 438.3 MB, free: 432 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.2218, allocations: 2.406 kB / 438.3 MB, free: 432 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2218, allocations: 0 / 438.3 MB, free: 432 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.2218, allocations: 0 / 438.3 MB, free: 432 kB / 410.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.001283/0.2231, allocations: 0.9953 MB / 439.3 MB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2231, allocations: 9.875 kB / 439.3 MB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.2242, allocations: 310.3 kB / 439.6 MB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.2249, allocations: 441.7 kB / 440 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.2249, allocations: 35.19 kB / 440 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.2251, allocations: 58.22 kB / 440.1 MB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.2258, allocations: 0.7007 MB / 440.8 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.2259, allocations: 2.344 kB / 440.8 MB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.2259, allocations: 30.48 kB / 440.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.2261, allocations: 56.78 kB / 440.9 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.2264, allocations: 206.1 kB / 441.1 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.2291, allocations: 3.041 MB / 444.1 MB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2293, allocations: 159.8 kB / 444.3 MB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2294, allocations: 77.03 kB / 444.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.2295, allocations: 7.344 kB / 444.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2295, allocations: 34.06 kB / 444.4 MB, free: 12.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.2295, allocations: 0 / 444.4 MB, free: 12.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.002289/0.2318, allocations: 0.9989 MB / 445.4 MB, free: 12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2318, allocations: 63.48 kB / 445.5 MB, free: 11.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.2321, allocations: 392.8 kB / 445.8 MB, free: 11.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.2321, allocations: 32.45 kB / 445.9 MB, free: 11.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2323, allocations: 310.1 kB / 446.2 MB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.2324, allocations: 131.8 kB / 446.3 MB, free: 11.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.2325, allocations: 96.25 kB / 446.4 MB, free: 11.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2326, allocations: 365.3 kB / 446.8 MB, free: 11.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.2327, allocations: 59.75 kB / 446.8 MB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.2329, allocations: 226.2 kB / 447 MB, free: 10.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.2333, allocations: 374.7 kB / 447.4 MB, free: 10.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2333, allocations: 1.812 kB / 447.4 MB, free: 10.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006755/0.234, allocations: 420.4 kB / 447.8 MB, free: 10.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.234, allocations: 7.25 kB / 447.8 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.234, allocations: 6.062 kB / 447.8 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.2346, allocations: 152.6 kB / 448 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.2349, allocations: 119.6 kB / 448.1 MB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.2369, allocations: 2.648 MB / 450.7 MB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.2372, allocations: 15.62 kB / 450.8 MB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.2372, allocations: 22.47 kB / 450.8 MB, free: 7.953 MB / 426.7 MB 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 (55): * Single equations (assignments): 53 * 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): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.2374, allocations: 146.7 kB / 450.9 MB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.2374, allocations: 43.23 kB / 451 MB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005595/0.238, allocations: 332 kB / 451.3 MB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.238, allocations: 4.094 kB / 451.3 MB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.238, allocations: 1.406 kB / 451.3 MB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.238, allocations: 10.86 kB / 451.3 MB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.239, allocations: 0.6804 MB / 452 MB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.239, allocations: 5.109 kB / 452 MB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.2393, allocations: 66.41 kB / 452.1 MB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.2394, allocations: 64.92 kB / 452.1 MB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.2399, allocations: 151.2 kB / 452.3 MB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.2399, allocations: 8.281 kB / 452.3 MB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.2419, allocations: 2.644 MB / 454.9 MB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2419, allocations: 2.734 kB / 454.9 MB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006884/0.2425, allocations: 0.5235 MB / 455.4 MB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.2426, allocations: 8 kB / 455.5 MB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.2428, allocations: 8 kB / 455.5 MB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.2429, allocations: 31.89 kB / 455.5 MB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.2429, allocations: 8 kB / 455.5 MB, free: 3.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.243, allocations: 165.4 kB / 455.7 MB, free: 3.785 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.243, allocations: 0 / 455.7 MB, free: 3.785 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005092/0.2435, allocations: 152 kB / 455.8 MB, free: 3.637 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (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): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.2437, allocations: 98.83 kB / 455.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007484/0.2444, allocations: 0.5268 MB / 456.4 MB, free: 2.988 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/0.2444, allocations: 8 kB / 456.4 MB, free: 2.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.2449, allocations: 415 kB / 456.8 MB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.2457, allocations: 1.598 MB / 458.4 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.2496, allocations: 1.07 MB / 459.5 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2497, allocations: 171.4 kB / 459.7 MB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.2499, allocations: 59.09 kB / 459.7 MB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.2501, allocations: 174.9 kB / 459.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2501, allocations: 0 / 459.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of Templates: time 0.009954/0.2601, allocations: 8.794 MB / 468.7 MB, free: 6.891 MB / 442.7 MB " [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.414370140992105]