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.001317/0.001317, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001584/0.001584, allocations: 222.2 kB / 23 MB, free: 4.914 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.8 MB, free: 7.809 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.002667/0.002667, allocations: 303.9 kB / 313.5 MB, free: 2.613 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.271/1.271, allocations: 180.6 MB / 0.5377 GB, free: 14.4 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.002988/0.002988, allocations: 109.1 kB / 0.7407 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1794, allocations: 95.39 MB / 0.8339 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008923/0.1883, allocations: 5.282 MB / 0.839 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00539/0.1937, allocations: 2.603 MB / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.1943, allocations: 27.75 kB / 0.8416 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.1965, allocations: 0.6815 MB / 0.8423 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1979, allocations: 421.8 kB / 0.8427 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1992, allocations: 401.5 kB / 0.8431 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.2007, allocations: 0.9516 MB / 0.844 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007602/0.2015, allocations: 378.5 kB / 0.8443 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008263/0.2023, allocations: 386.6 kB / 0.8447 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008404/0.2031, allocations: 398.4 kB / 0.8451 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.2033, allocations: 48 kB / 0.8451 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000845/0.2041, allocations: 339.2 kB / 0.8455 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.2045, allocations: 251.3 kB / 0.8457 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.2051, allocations: 290.6 kB / 0.846 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.2066, allocations: 0.9884 MB / 0.8469 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2066, allocations: 0 / 0.8469 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2066, allocations: 0 / 0.8469 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2066, allocations: 0 / 0.8469 GB, free: 10.36 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.001755/0.2084, allocations: 0.9053 MB / 0.8478 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2084, allocations: 17.34 kB / 0.8478 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.2098, allocations: 196.3 kB / 0.848 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.2107, allocations: 463.6 kB / 0.8485 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.2108, allocations: 37.38 kB / 0.8485 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.2109, allocations: 56.5 kB / 0.8486 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.2123, allocations: 0.9824 MB / 0.8495 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.2123, allocations: 4 kB / 0.8495 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.2124, allocations: 20 kB / 0.8495 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.2126, allocations: 72.88 kB / 0.8496 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.2135, allocations: 0.5658 MB / 0.8502 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.218, allocations: 3.484 MB / 0.8536 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.2185, allocations: 283.2 kB / 0.8538 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.2188, allocations: 209.3 kB / 0.854 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.2188, allocations: 8.219 kB / 0.854 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.2189, allocations: 38.84 kB / 0.8541 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.235e-06/0.2189, allocations: 0 / 0.8541 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.0057/0.2246, allocations: 2.343 MB / 0.8564 GB, free: 332 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.2246, allocations: 59.39 kB / 0.8564 GB, free: 260 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.2252, allocations: 425.7 kB / 0.8568 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.2252, allocations: 29.7 kB / 0.8569 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.2255, allocations: 356.4 kB / 0.8572 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.2256, allocations: 150.7 kB / 0.8573 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2258, allocations: 102.3 kB / 0.8574 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.226, allocations: 366.7 kB / 0.8578 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.2264, allocations: 237.2 kB / 0.858 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.2269, allocations: 407.3 kB / 0.8584 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/0.2279, allocations: 0.675 MB / 0.8591 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2279, allocations: 0 / 0.8591 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001733/0.2296, allocations: 0.9174 MB / 0.86 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2296, allocations: 8 kB / 0.86 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2296, allocations: 4 kB / 0.86 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007954/0.2304, allocations: 226.9 kB / 0.8602 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.231, allocations: 111.8 kB / 0.8603 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/0.2366, allocations: 4.954 MB / 0.8651 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.2371, allocations: 23.98 kB / 0.8652 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.2372, allocations: 27.98 kB / 0.8652 GB, free: 6.766 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.0003583/0.2375, allocations: 221.8 kB / 0.8654 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.2376, allocations: 51.67 kB / 0.8654 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.2392, allocations: 0.7731 MB / 0.8662 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.2392, allocations: 4 kB / 0.8662 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2392, allocations: 4 kB / 0.8662 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2392, allocations: 3.938 kB / 0.8662 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.2418, allocations: 1.33 MB / 0.8675 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2418, allocations: 0 / 0.8675 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.2421, allocations: 68.08 kB / 0.8676 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007227/0.2429, allocations: 214.5 kB / 0.8678 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.2429, allocations: 11.98 kB / 0.8678 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005664/0.2486, allocations: 4.861 MB / 0.8725 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2486, allocations: 144 / 0.8725 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.2507, allocations: 1.131 MB / 0.8736 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.251, allocations: 87.66 kB / 0.8737 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.251, allocations: 15.98 kB / 0.8737 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.2514, allocations: 23.97 kB / 0.8738 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.2515, allocations: 35.94 kB / 0.8738 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.2515, allocations: 12 kB / 0.8738 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003477/0.2518, allocations: 283.1 kB / 0.8741 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.2518, allocations: 0 / 0.8741 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007362/0.2526, allocations: 168 kB / 0.8742 GB, free: 13.04 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.0001772/0.2528, allocations: 115.2 kB / 0.8744 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.2545, allocations: 0.9732 MB / 0.8753 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2545, allocations: 0 / 0.8753 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.2555, allocations: 0.6681 MB / 0.876 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.2564, allocations: 175.9 kB / 0.8761 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.2588, allocations: 1.32 MB / 0.8774 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.2592, allocations: 354 kB / 0.8778 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2593, allocations: 35.44 kB / 0.8778 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of SimCode: time 1.282e-06/0.2593, allocations: 4 kB / 0.8778 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of Templates: time 0.02131/0.2806, allocations: 14.9 MB / 0.8923 GB, free: 10.39 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: 10.564033671747893] Failed to read output from testmodel.py, exit status != 0: 0.2885902551934123 0.30421383399999996 0.09435876499999994 Calling exit ...