Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001243/0.001243, allocations: 85.61 kB / 19.94 MB, free: 1.777 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.001341/0.001341, allocations: 162.1 kB / 23.22 MB, free: 4.902 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.421/1.421, allocations: 177.2 MB / 203.5 MB, free: 9.188 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.8899/0.8899, allocations: 114 MB / 373.9 MB, free: 13.24 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5547 GB, free: 2.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.34e-05, allocations: 6.219 kB / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00711/0.007134, allocations: 5.28 MB / 0.5598 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004571/0.0117, allocations: 2.599 MB / 0.5624 GB, free: 10.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.0121, allocations: 35.69 kB / 0.5624 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.01403, allocations: 0.6877 MB / 0.5631 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.01508, allocations: 437.3 kB / 0.5635 GB, free: 9.578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.01612, allocations: 414.8 kB / 0.5639 GB, free: 9.172 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.01737, allocations: 0.9902 MB / 0.5649 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005984/0.01796, allocations: 386.4 kB / 0.5652 GB, free: 7.801 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000761/0.01872, allocations: 0.5182 MB / 0.5657 GB, free: 7.281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.0193, allocations: 374.9 kB / 0.5661 GB, free: 6.914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.472e-05/0.01938, allocations: 48 kB / 0.5661 GB, free: 6.867 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006115/0.01999, allocations: 327.2 kB / 0.5665 GB, free: 6.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.02027, allocations: 267.2 kB / 0.5667 GB, free: 6.285 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.02057, allocations: 239.4 kB / 0.5669 GB, free: 6.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.02178, allocations: 0.9929 MB / 0.5679 GB, free: 5.055 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.02179, allocations: 4 kB / 0.5679 GB, free: 5.051 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.02179, allocations: 7.984 kB / 0.5679 GB, free: 5.043 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.02181, allocations: 0 / 0.5679 GB, free: 5.043 MB / 478.1 MB 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.001583/0.02339, allocations: 0.9053 MB / 0.5688 GB, free: 4.105 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.02343, allocations: 8.625 kB / 0.5688 GB, free: 4.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.02484, allocations: 212.2 kB / 0.569 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.0257, allocations: 468.1 kB / 0.5695 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.02574, allocations: 37.38 kB / 0.5695 GB, free: 3.367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.02592, allocations: 68.47 kB / 0.5696 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.02728, allocations: 0.9762 MB / 0.5705 GB, free: 2.211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.0273, allocations: 4.125 kB / 0.5705 GB, free: 2.207 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.02736, allocations: 24.12 kB / 0.5705 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/0.02757, allocations: 68.95 kB / 0.5706 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.02848, allocations: 0.5619 MB / 0.5712 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.03264, allocations: 3.48 MB / 0.5746 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.03313, allocations: 271.3 kB / 0.5748 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.03344, allocations: 209.3 kB / 0.575 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.03347, allocations: 8.219 kB / 0.575 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.03351, allocations: 38.83 kB / 0.5751 GB, free: 13.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.03351, allocations: 0 / 0.5751 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.00581/0.03932, allocations: 2.338 MB / 0.5773 GB, free: 11.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.03938, allocations: 55.41 kB / 0.5774 GB, free: 10.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.03987, allocations: 445.7 kB / 0.5778 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.03991, allocations: 29.7 kB / 0.5778 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.04017, allocations: 356.4 kB / 0.5782 GB, free: 10.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.0403, allocations: 146.7 kB / 0.5783 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.04047, allocations: 106.3 kB / 0.5784 GB, free: 9.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.04068, allocations: 362.7 kB / 0.5788 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.04104, allocations: 237.2 kB / 0.579 GB, free: 9.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.04156, allocations: 407.3 kB / 0.5794 GB, free: 8.797 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.04248, allocations: 0.6779 MB / 0.58 GB, free: 8.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.04248, allocations: 0 / 0.58 GB, free: 8.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001711/0.04419, allocations: 0.9099 MB / 0.5809 GB, free: 7.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.04421, allocations: 8 kB / 0.5809 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.04422, allocations: 7.938 kB / 0.581 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/0.04504, allocations: 230.6 kB / 0.5812 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.04558, allocations: 115.8 kB / 0.5813 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005516/0.0511, allocations: 4.938 MB / 0.5861 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.05154, allocations: 31.97 kB / 0.5861 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.05159, allocations: 31.92 kB / 0.5862 GB, free: 1.453 MB / 494.1 MB 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.0003432/0.05194, allocations: 221.7 kB / 0.5864 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.05204, allocations: 55.67 kB / 0.5864 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.05362, allocations: 0.7577 MB / 0.5872 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.05362, allocations: 4 kB / 0.5872 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.05363, allocations: 8 kB / 0.5872 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.05364, allocations: 3.984 kB / 0.5872 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.05601, allocations: 1.331 MB / 0.5885 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.05601, allocations: 4 kB / 0.5885 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.0564, allocations: 71.88 kB / 0.5886 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000698/0.0571, allocations: 202.6 kB / 0.5887 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.05713, allocations: 8 kB / 0.5888 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005095/0.06222, allocations: 4.868 MB / 0.5935 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.06223, allocations: 0 / 0.5935 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.06409, allocations: 1.128 MB / 0.5946 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.06429, allocations: 91.66 kB / 0.5947 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.06436, allocations: 11.94 kB / 0.5947 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.0647, allocations: 27.97 kB / 0.5947 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.06478, allocations: 35.88 kB / 0.5948 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.06482, allocations: 16.33 kB / 0.5948 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000327/0.06514, allocations: 290.9 kB / 0.5951 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.06514, allocations: 0 / 0.5951 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006598/0.0658, allocations: 164 kB / 0.5952 GB, free: 7.715 MB / 0.4981 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.00016/0.06596, allocations: 119.2 kB / 0.5953 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.06759, allocations: 0.9733 MB / 0.5963 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.0676, allocations: 0 / 0.5963 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.0686, allocations: 0.6642 MB / 0.5969 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/0.06948, allocations: 177.7 kB / 0.5971 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.07146, allocations: 1.216 MB / 0.5983 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.07184, allocations: 354.1 kB / 0.5986 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.07213, allocations: 108.8 kB / 0.5987 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.07224, allocations: 36.5 kB / 0.5988 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.07224, allocations: 0 / 0.5988 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.01613/0.08837, allocations: 9.032 MB / 0.6076 GB, free: 11.15 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.443710442632437] Failed to read output from testmodel.py, exit status != 0: 0.09721991419792175 0.11158850000000001 0.086635817 Calling exit ...