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.001678/0.001678, allocations: 102.1 kB / 19.59 MB, free: 2.328 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.001981/0.001981, allocations: 214.6 kB / 22.88 MB, free: 5.625 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.417/1.417, allocations: 230.5 MB / 256.5 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] 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.002439/0.002439, allocations: 292.7 kB / 313.2 MB, free: 2.867 MB / 238.1 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 1.217/1.217, allocations: 180.8 MB / 0.5376 GB, free: 12.75 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 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: 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.002908/0.002908, allocations: 108.2 kB / 0.7406 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1754, allocations: 95.38 MB / 0.8337 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00764/0.1831, allocations: 5.648 MB / 0.8392 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004589/0.1877, allocations: 2.74 MB / 0.8419 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.188, allocations: 35.69 kB / 0.8419 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.1899, allocations: 0.7115 MB / 0.8426 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000918/0.1908, allocations: 425.7 kB / 0.843 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.1917, allocations: 395.1 kB / 0.8434 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1928, allocations: 0.9478 MB / 0.8443 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.1933, allocations: 378.5 kB / 0.8447 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.1938, allocations: 378.6 kB / 0.8451 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006026/0.1944, allocations: 446.2 kB / 0.8455 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.1945, allocations: 48 kB / 0.8455 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.1951, allocations: 327.3 kB / 0.8458 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.1953, allocations: 259.2 kB / 0.8461 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.1957, allocations: 342.2 kB / 0.8464 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.1969, allocations: 0.9884 MB / 0.8474 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1969, allocations: 0 / 0.8474 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1969, allocations: 0 / 0.8474 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.1969, allocations: 0 / 0.8474 GB, free: 9.934 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.001857/0.1988, allocations: 0.9169 MB / 0.8483 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.1988, allocations: 13.34 kB / 0.8483 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.2002, allocations: 196.3 kB / 0.8485 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/0.2012, allocations: 459.6 kB / 0.8489 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.2012, allocations: 41.36 kB / 0.849 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.2014, allocations: 52.52 kB / 0.849 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.2027, allocations: 0.9786 MB / 0.85 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.2027, allocations: 7.938 kB / 0.85 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.2028, allocations: 27.97 kB / 0.85 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002008/0.203, allocations: 64.95 kB / 0.8501 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008985/0.2039, allocations: 0.5697 MB / 0.8506 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.2085, allocations: 4.474 MB / 0.855 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.209, allocations: 283.2 kB / 0.8553 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.2093, allocations: 209.3 kB / 0.8555 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.2093, allocations: 288 / 0.8555 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.2094, allocations: 42.84 kB / 0.8555 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.273e-06/0.2094, allocations: 0 / 0.8555 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005677/0.215, allocations: 2.347 MB / 0.8578 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2151, allocations: 55.41 kB / 0.8578 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.2156, allocations: 462 kB / 0.8583 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.2156, allocations: 33.64 kB / 0.8583 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.2159, allocations: 352.5 kB / 0.8586 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.216, allocations: 150.7 kB / 0.8588 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.2162, allocations: 114.2 kB / 0.8589 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2163, allocations: 358.8 kB / 0.8592 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.2167, allocations: 237.2 kB / 0.8595 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.2172, allocations: 411.3 kB / 0.8599 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000932/0.2182, allocations: 0.675 MB / 0.8605 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2182, allocations: 0 / 0.8605 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001723/0.2199, allocations: 0.9173 MB / 0.8614 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.2199, allocations: 10.34 kB / 0.8614 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2199, allocations: 4 kB / 0.8614 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008172/0.2207, allocations: 227 kB / 0.8616 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.2212, allocations: 115.8 kB / 0.8618 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005486/0.2267, allocations: 5.038 MB / 0.8667 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.2271, allocations: 32.03 kB / 0.8667 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.2272, allocations: 24 kB / 0.8667 GB, free: 4.965 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.0002991/0.2275, allocations: 221.6 kB / 0.8669 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2276, allocations: 63.59 kB / 0.867 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.2292, allocations: 0.7579 MB / 0.8677 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2292, allocations: 4 kB / 0.8677 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2292, allocations: 4 kB / 0.8677 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.2292, allocations: 4.125 kB / 0.8678 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.2319, allocations: 1.466 MB / 0.8692 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2319, allocations: 0 / 0.8692 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.2322, allocations: 71.89 kB / 0.8693 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007406/0.233, allocations: 202.8 kB / 0.8694 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.233, allocations: 16 kB / 0.8695 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005146/0.2382, allocations: 4.968 MB / 0.8743 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2382, allocations: 4.031 kB / 0.8743 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.2401, allocations: 1.128 MB / 0.8754 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.2403, allocations: 99.61 kB / 0.8755 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.2404, allocations: 15.92 kB / 0.8755 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.2407, allocations: 23.97 kB / 0.8755 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.2408, allocations: 39.88 kB / 0.8756 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.2408, allocations: 12.06 kB / 0.8756 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003559/0.2412, allocations: 310.9 kB / 0.8759 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2412, allocations: 0 / 0.8759 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006829/0.2419, allocations: 168 kB / 0.8761 GB, free: 10.91 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.0001539/0.242, allocations: 121.6 kB / 0.8762 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.2436, allocations: 0.9655 MB / 0.8771 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2436, allocations: 0 / 0.8771 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009974/0.2446, allocations: 0.6642 MB / 0.8778 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.2455, allocations: 188.6 kB / 0.8779 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.2476, allocations: 1.28 MB / 0.8792 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2479, allocations: 346.1 kB / 0.8795 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003235/0.2483, allocations: 113 kB / 0.8796 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2484, allocations: 35.44 kB / 0.8797 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.2484, allocations: 0 / 0.8797 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of Templates: time 0.01688/0.2653, allocations: 9.415 MB / 0.8889 GB, free: 13.76 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.217961018992355] Failed to read output from testmodel.py, exit status != 0: 0.2729146519995993 0.28760826500000003 0.08766583500000001 Calling exit ...