Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00133/0.00133, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001519/0.001519, allocations: 165.5 kB / 23.76 MB, free: 4.199 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.447/1.447, allocations: 177.2 MB / 204.1 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9395/0.9395, allocations: 113.9 MB / 374.4 MB, free: 12.91 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: IBPSA 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.00212/0.00212, allocations: 75.88 kB / 0.555 GB, free: 2.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1699, allocations: 89.14 MB / 0.6421 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007617/0.1775, allocations: 5.25 MB / 0.6472 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004695/0.1822, allocations: 2.619 MB / 0.6498 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.1825, allocations: 31.69 kB / 0.6498 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.1845, allocations: 0.6846 MB / 0.6505 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.1855, allocations: 417.8 kB / 0.6509 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1866, allocations: 401.4 kB / 0.6513 GB, free: 160 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.188, allocations: 0.9477 MB / 0.6522 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005823/0.1886, allocations: 374.6 kB / 0.6525 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.1891, allocations: 390.6 kB / 0.6529 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006035/0.1897, allocations: 402.4 kB / 0.6533 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.1898, allocations: 48 kB / 0.6533 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.1904, allocations: 331.2 kB / 0.6537 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.1907, allocations: 255.2 kB / 0.6539 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.191, allocations: 286.7 kB / 0.6542 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1922, allocations: 0.9845 MB / 0.6551 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1922, allocations: 0 / 0.6551 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1922, allocations: 0 / 0.6551 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.1922, allocations: 7.938 kB / 0.6551 GB, free: 12.16 MB / 0.5606 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.001675/0.1939, allocations: 0.9092 MB / 0.656 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.194, allocations: 12.03 kB / 0.656 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.1954, allocations: 204.2 kB / 0.6562 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008628/0.1963, allocations: 455.7 kB / 0.6567 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.1963, allocations: 33.38 kB / 0.6567 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.1965, allocations: 56.53 kB / 0.6568 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1978, allocations: 0.9856 MB / 0.6577 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.1979, allocations: 23.83 kB / 0.6577 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.1979, allocations: 23.98 kB / 0.6578 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002143/0.1982, allocations: 64.95 kB / 0.6578 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009533/0.1991, allocations: 0.5697 MB / 0.6584 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/0.2035, allocations: 3.492 MB / 0.6618 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.204, allocations: 275.2 kB / 0.6621 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.2043, allocations: 209.3 kB / 0.6623 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2043, allocations: 8.266 kB / 0.6623 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.2043, allocations: 34.84 kB / 0.6623 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.2043, allocations: 0 / 0.6623 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005842/0.2102, allocations: 2.326 MB / 0.6646 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.2102, allocations: 55.41 kB / 0.6646 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.2107, allocations: 433.7 kB / 0.665 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.2108, allocations: 29.7 kB / 0.6651 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.211, allocations: 360.4 kB / 0.6654 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2111, allocations: 146.7 kB / 0.6655 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.2113, allocations: 110.2 kB / 0.6657 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.2115, allocations: 362.7 kB / 0.666 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.2119, allocations: 237.2 kB / 0.6662 GB, free: 400 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.2124, allocations: 411.3 kB / 0.6666 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.2134, allocations: 0.674 MB / 0.6673 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2134, allocations: 0 / 0.6673 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001799/0.2152, allocations: 0.9179 MB / 0.6682 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2152, allocations: 9.719 kB / 0.6682 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2152, allocations: 4 kB / 0.6682 GB, free: 14.22 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008207/0.216, allocations: 222.5 kB / 0.6684 GB, free: 13.99 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.2166, allocations: 111.8 kB / 0.6685 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.2222, allocations: 4.938 MB / 0.6733 GB, free: 8.629 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.2227, allocations: 31.97 kB / 0.6734 GB, free: 8.598 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.2228, allocations: 24 kB / 0.6734 GB, free: 8.574 MB / 0.5763 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.0003388/0.2231, allocations: 221.7 kB / 0.6736 GB, free: 8.348 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.2232, allocations: 59.73 kB / 0.6736 GB, free: 8.289 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.2248, allocations: 0.7653 MB / 0.6744 GB, free: 7.508 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2248, allocations: 7.938 kB / 0.6744 GB, free: 7.5 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.2248, allocations: 4.188 kB / 0.6744 GB, free: 7.496 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.2249, allocations: 3.938 kB / 0.6744 GB, free: 7.492 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.2274, allocations: 1.319 MB / 0.6757 GB, free: 6.105 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2274, allocations: 4.062 kB / 0.6757 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.2278, allocations: 71.88 kB / 0.6758 GB, free: 6.031 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007141/0.2285, allocations: 202.3 kB / 0.676 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.2285, allocations: 15.94 kB / 0.676 GB, free: 5.809 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005368/0.2339, allocations: 4.876 MB / 0.6807 GB, free: 0.625 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2339, allocations: 4.031 kB / 0.6807 GB, free: 0.6211 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.2359, allocations: 1.12 MB / 0.6818 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.2361, allocations: 87.75 kB / 0.6819 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.2362, allocations: 16 kB / 0.6819 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.2365, allocations: 23.97 kB / 0.682 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.2366, allocations: 39.92 kB / 0.682 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.2367, allocations: 15.94 kB / 0.682 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003432/0.237, allocations: 287.1 kB / 0.6823 GB, free: 15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.237, allocations: 0 / 0.6823 GB, free: 15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007021/0.2377, allocations: 164 kB / 0.6824 GB, free: 14.84 MB / 0.5919 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.0001504/0.2379, allocations: 119.5 kB / 0.6826 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.2395, allocations: 0.9767 MB / 0.6835 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2395, allocations: 0 / 0.6835 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.2406, allocations: 0.6564 MB / 0.6842 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/0.2415, allocations: 181.1 kB / 0.6843 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.2436, allocations: 1.262 MB / 0.6856 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.2439, allocations: 354 kB / 0.6859 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.2443, allocations: 108.8 kB / 0.686 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.2444, allocations: 36.5 kB / 0.686 GB, free: 11 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.2444, allocations: 0 / 0.686 GB, free: 11 MB / 0.5919 GB Notification: Performance of Templates: time 0.01677/0.2611, allocations: 9.081 MB / 0.6949 GB, free: 2.125 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.001728732022457] Failed to read output from testmodel.py, exit status != 0: 0.26975592388771474 0.5452627480000001 0.35053475700000003 Calling exit ...