Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.00174/0.00174, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002438/0.002438, allocations: 210.8 kB / 22.24 MB, free: 5.262 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 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.002584/0.002584, allocations: 279.3 kB / 312.7 MB, free: 2.637 MB / 238.1 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.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.1 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003258/0.003258, allocations: 100.3 kB / 0.74 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1729, allocations: 95.38 MB / 0.8331 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008118/0.181, allocations: 5.366 MB / 0.8384 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.1859, allocations: 2.623 MB / 0.8409 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.1862, allocations: 31.69 kB / 0.841 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.1882, allocations: 0.6816 MB / 0.8416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000929/0.1891, allocations: 429.7 kB / 0.842 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009558/0.1901, allocations: 421 kB / 0.8424 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.1911, allocations: 0.9516 MB / 0.8434 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005879/0.1917, allocations: 374.5 kB / 0.8437 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.1923, allocations: 394.5 kB / 0.8441 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.1929, allocations: 406.3 kB / 0.8445 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.1929, allocations: 48 kB / 0.8445 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.1935, allocations: 327.3 kB / 0.8448 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.1938, allocations: 251.2 kB / 0.8451 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.1941, allocations: 294.6 kB / 0.8454 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1952, allocations: 0.9845 MB / 0.8463 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1952, allocations: 0 / 0.8463 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1952, allocations: 3.938 kB / 0.8463 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.1952, allocations: 0 / 0.8463 GB, free: 10.3 MB / 0.5919 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.001689/0.1969, allocations: 0.9208 MB / 0.8472 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1969, allocations: 12.75 kB / 0.8472 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.1984, allocations: 200.2 kB / 0.8474 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009296/0.1993, allocations: 472.9 kB / 0.8479 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.1993, allocations: 33.38 kB / 0.8479 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.1995, allocations: 60.48 kB / 0.848 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.2008, allocations: 0.9786 MB / 0.8489 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.2008, allocations: 7.922 kB / 0.8489 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.2009, allocations: 24 kB / 0.849 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.2011, allocations: 64.95 kB / 0.849 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/0.202, allocations: 0.5697 MB / 0.8496 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/0.2061, allocations: 3.496 MB / 0.853 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.2066, allocations: 275.2 kB / 0.8533 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.2069, allocations: 217.2 kB / 0.8535 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2069, allocations: 4.281 kB / 0.8535 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.207, allocations: 34.83 kB / 0.8535 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.207, allocations: 4 kB / 0.8535 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005914/0.2129, allocations: 2.335 MB / 0.8558 GB, free: 252 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.2129, allocations: 59.39 kB / 0.8558 GB, free: 180 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.2135, allocations: 437.6 kB / 0.8563 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.2135, allocations: 29.7 kB / 0.8563 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.2138, allocations: 360.4 kB / 0.8566 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.214, allocations: 150.7 kB / 0.8568 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.2141, allocations: 102.3 kB / 0.8569 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2143, allocations: 362.7 kB / 0.8572 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.2147, allocations: 241.2 kB / 0.8574 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.2152, allocations: 411.3 kB / 0.8578 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.2162, allocations: 0.675 MB / 0.8585 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2162, allocations: 0 / 0.8585 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001811/0.218, allocations: 0.9096 MB / 0.8594 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.218, allocations: 8 kB / 0.8594 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2181, allocations: 4 kB / 0.8594 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008162/0.2189, allocations: 231 kB / 0.8596 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.2194, allocations: 115.8 kB / 0.8597 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005681/0.2251, allocations: 4.946 MB / 0.8646 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.2255, allocations: 31.97 kB / 0.8646 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.2256, allocations: 24 kB / 0.8646 GB, free: 6.672 MB / 0.6075 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.0003328/0.2259, allocations: 228 kB / 0.8648 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.226, allocations: 59.66 kB / 0.8649 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.2276, allocations: 0.7579 MB / 0.8656 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2276, allocations: 4 kB / 0.8656 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2276, allocations: 0 / 0.8656 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2276, allocations: 11.92 kB / 0.8656 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.2304, allocations: 1.323 MB / 0.8669 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.2304, allocations: 8 kB / 0.8669 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.2308, allocations: 67.88 kB / 0.867 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000708/0.2315, allocations: 210.6 kB / 0.8672 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.2315, allocations: 12 kB / 0.8672 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.2369, allocations: 4.864 MB / 0.872 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.2369, allocations: 4.031 kB / 0.872 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.2388, allocations: 1.128 MB / 0.8731 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.2391, allocations: 87.62 kB / 0.8732 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.2392, allocations: 8 kB / 0.8732 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.2395, allocations: 23.97 kB / 0.8732 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.2396, allocations: 43.88 kB / 0.8732 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.2396, allocations: 15.98 kB / 0.8732 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003422/0.24, allocations: 290.8 kB / 0.8735 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5e-08/0.24, allocations: 0 / 0.8735 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006985/0.2407, allocations: 176 kB / 0.8737 GB, free: 12.92 MB / 0.6231 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.0001612/0.2409, allocations: 111.2 kB / 0.8738 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.2426, allocations: 0.9731 MB / 0.8747 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2426, allocations: 3.938 kB / 0.8747 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.2436, allocations: 0.6603 MB / 0.8754 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.2445, allocations: 179.8 kB / 0.8756 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.2467, allocations: 1.281 MB / 0.8768 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.2471, allocations: 358.1 kB / 0.8772 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003431/0.2475, allocations: 108.8 kB / 0.8773 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.2476, allocations: 35.42 kB / 0.8773 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.2476, allocations: 0 / 0.8773 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of Templates: time 0.01784/0.2654, allocations: 9.86 MB / 0.8869 GB, free: 15.45 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.424282876774669] Failed to read output from testmodel.py, exit status != 0: 0.2731454633176327 0.28884876800000003 0.09047597 Calling exit ...