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.001377/0.001377, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001563/0.001563, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.465/1.465, 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.002608/0.002608, allocations: 294.6 kB / 312.7 MB, free: 2.598 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.305/1.305, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.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: 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.003212/0.003212, allocations: 105.7 kB / 0.74 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1641, allocations: 95.39 MB / 0.8331 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008273/0.1724, allocations: 5.284 MB / 0.8383 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004994/0.1774, allocations: 2.607 MB / 0.8408 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.1778, allocations: 27.75 kB / 0.8409 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.1799, allocations: 0.6866 MB / 0.8415 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.181, allocations: 421.8 kB / 0.8419 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1821, allocations: 397.2 kB / 0.8423 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.1834, allocations: 0.9594 MB / 0.8433 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006805/0.1841, allocations: 370.6 kB / 0.8436 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.1848, allocations: 390.6 kB / 0.844 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.1855, allocations: 398.4 kB / 0.8444 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1856, allocations: 51.94 kB / 0.8444 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006442/0.1862, allocations: 331.2 kB / 0.8447 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.1865, allocations: 251.3 kB / 0.845 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.187, allocations: 286.7 kB / 0.8452 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.1882, allocations: 0.9922 MB / 0.8462 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1883, allocations: 0 / 0.8462 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1883, allocations: 0 / 0.8462 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.535e-05/0.1883, allocations: 0 / 0.8462 GB, free: 10.38 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.001793/0.1901, allocations: 0.9092 MB / 0.8471 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1901, allocations: 13.34 kB / 0.8471 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.1915, allocations: 196.2 kB / 0.8473 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.1925, allocations: 459.7 kB / 0.8477 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.1925, allocations: 41.38 kB / 0.8478 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.1927, allocations: 60.48 kB / 0.8478 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.1941, allocations: 0.9824 MB / 0.8488 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.1941, allocations: 4 kB / 0.8488 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.1942, allocations: 16 kB / 0.8488 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.1944, allocations: 72.89 kB / 0.8489 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.1954, allocations: 0.5658 MB / 0.8494 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.1999, allocations: 3.488 MB / 0.8528 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.2004, allocations: 271.2 kB / 0.8531 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.2007, allocations: 217.2 kB / 0.8533 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.2007, allocations: 4.281 kB / 0.8533 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.2008, allocations: 34.84 kB / 0.8533 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.2008, allocations: 0 / 0.8533 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005734/0.2065, allocations: 2.343 MB / 0.8556 GB, free: 360 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.2066, allocations: 59.41 kB / 0.8557 GB, free: 288 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.207, allocations: 425.7 kB / 0.8561 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.2071, allocations: 33.64 kB / 0.8561 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.2074, allocations: 352.4 kB / 0.8565 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.2075, allocations: 158.7 kB / 0.8566 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.2077, allocations: 106.3 kB / 0.8567 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.2079, allocations: 358.7 kB / 0.8571 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.2082, allocations: 237.2 kB / 0.8573 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.2088, allocations: 411.3 kB / 0.8577 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009782/0.2098, allocations: 0.675 MB / 0.8583 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2098, allocations: 0 / 0.8583 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001792/0.2115, allocations: 0.9098 MB / 0.8592 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2116, allocations: 8 kB / 0.8592 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2116, allocations: 7.984 kB / 0.8592 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009078/0.2125, allocations: 222.8 kB / 0.8594 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.213, allocations: 119.8 kB / 0.8596 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/0.2188, allocations: 4.946 MB / 0.8644 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/0.2192, allocations: 31.97 kB / 0.8644 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.2193, allocations: 24 kB / 0.8644 GB, free: 6.789 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.0003434/0.2196, allocations: 221.8 kB / 0.8647 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.2197, allocations: 55.67 kB / 0.8647 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.2214, allocations: 0.7653 MB / 0.8655 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2214, allocations: 8 kB / 0.8655 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.2214, allocations: 4 kB / 0.8655 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2214, allocations: 7.922 kB / 0.8655 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/0.224, allocations: 1.322 MB / 0.8668 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.224, allocations: 0 / 0.8668 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.2244, allocations: 67.88 kB / 0.8668 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007316/0.2252, allocations: 210.5 kB / 0.867 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.2252, allocations: 8 kB / 0.867 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005486/0.2307, allocations: 4.872 MB / 0.8718 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2307, allocations: 4.031 kB / 0.8718 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.2327, allocations: 1.128 MB / 0.8729 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.233, allocations: 87.62 kB / 0.873 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.233, allocations: 12.12 kB / 0.873 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.2334, allocations: 31.97 kB / 0.873 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.2335, allocations: 35.94 kB / 0.8731 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.2335, allocations: 12 kB / 0.8731 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003413/0.2339, allocations: 287.1 kB / 0.8733 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2339, allocations: 0 / 0.8733 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007039/0.2346, allocations: 171.9 kB / 0.8735 GB, free: 13.05 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.0001581/0.2347, allocations: 107.3 kB / 0.8736 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.2365, allocations: 0.9655 MB / 0.8746 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2365, allocations: 4.062 kB / 0.8746 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.2375, allocations: 0.668 MB / 0.8752 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.2384, allocations: 171.2 kB / 0.8754 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.2407, allocations: 1.272 MB / 0.8766 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.2411, allocations: 350 kB / 0.877 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003499/0.2415, allocations: 116.7 kB / 0.8771 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2416, allocations: 35.44 kB / 0.8771 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.2416, allocations: 0 / 0.8771 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of Templates: time 0.01855/0.2601, allocations: 9.838 MB / 0.8867 GB, free: 15.59 MB / 0.6387 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.3113621938973665] Failed to read output from testmodel.py, exit status != 0: 0.2681104652583599 0.28488917 0.09337709200000001 Calling exit ...