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.00132/0.00132, allocations: 83.42 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.001488/0.001488, allocations: 164.1 kB / 23.21 MB, free: 4.91 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.39/1.39, allocations: 177.2 MB / 203.5 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] 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.9133/0.9133, allocations: 114 MB / 373.9 MB, free: 13.25 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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.965e-05, allocations: 7.219 kB / 0.5547 GB, free: 2.652 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008864/0.008894, allocations: 5.213 MB / 0.5598 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004812/0.01371, allocations: 2.575 MB / 0.5623 GB, free: 10.83 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.01416, allocations: 31.69 kB / 0.5623 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.01613, allocations: 0.6837 MB / 0.563 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.01723, allocations: 433.3 kB / 0.5634 GB, free: 9.688 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.01825, allocations: 406.8 kB / 0.5638 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.0196, allocations: 0.9746 MB / 0.5647 GB, free: 8.309 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007831/0.02038, allocations: 394.3 kB / 0.5651 GB, free: 7.926 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009378/0.02132, allocations: 0.5182 MB / 0.5656 GB, free: 7.406 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006682/0.02199, allocations: 363 kB / 0.566 GB, free: 7.051 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.851e-05/0.02208, allocations: 44 kB / 0.566 GB, free: 7.008 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007252/0.0228, allocations: 343.1 kB / 0.5663 GB, free: 6.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.02309, allocations: 255.2 kB / 0.5666 GB, free: 6.422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.02345, allocations: 235.4 kB / 0.5668 GB, free: 6.191 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.02477, allocations: 1.005 MB / 0.5678 GB, free: 5.184 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.02478, allocations: 0 / 0.5678 GB, free: 5.184 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02478, allocations: 0 / 0.5678 GB, free: 5.184 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.02479, allocations: 0 / 0.5678 GB, free: 5.184 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.001811/0.0266, allocations: 0.9078 MB / 0.5687 GB, free: 4.246 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.02664, allocations: 8.625 kB / 0.5687 GB, free: 4.238 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.02814, allocations: 204.3 kB / 0.5689 GB, free: 4.039 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.02896, allocations: 458.9 kB / 0.5693 GB, free: 3.562 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.02901, allocations: 37.36 kB / 0.5693 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.02917, allocations: 52.52 kB / 0.5694 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.03068, allocations: 0.9762 MB / 0.5703 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.0307, allocations: 8.125 kB / 0.5704 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.03078, allocations: 36.05 kB / 0.5704 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/0.03098, allocations: 68.94 kB / 0.5705 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009672/0.03194, allocations: 0.5735 MB / 0.571 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.03618, allocations: 3.464 MB / 0.5744 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.03671, allocations: 279.3 kB / 0.5747 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.03703, allocations: 205.3 kB / 0.5749 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.03706, allocations: 8.219 kB / 0.5749 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.0371, allocations: 38.84 kB / 0.5749 GB, free: 13.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.0371, allocations: 0 / 0.5749 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.005886/0.04299, allocations: 2.33 MB / 0.5772 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.04307, allocations: 55.41 kB / 0.5772 GB, free: 11.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.04364, allocations: 429.7 kB / 0.5776 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.04368, allocations: 33.7 kB / 0.5777 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.04394, allocations: 352.4 kB / 0.578 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.04408, allocations: 150.7 kB / 0.5782 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.04426, allocations: 106.3 kB / 0.5783 GB, free: 10.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.04444, allocations: 362.7 kB / 0.5786 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.04483, allocations: 241.2 kB / 0.5788 GB, free: 9.441 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.04535, allocations: 407.3 kB / 0.5792 GB, free: 8.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/0.04631, allocations: 0.674 MB / 0.5799 GB, free: 8.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.04631, allocations: 0 / 0.5799 GB, free: 8.223 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00184/0.04815, allocations: 0.9101 MB / 0.5808 GB, free: 7.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.04817, allocations: 12.12 kB / 0.5808 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.04818, allocations: 4 kB / 0.5808 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008264/0.04901, allocations: 226.3 kB / 0.581 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.04954, allocations: 111.8 kB / 0.5811 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/0.05534, allocations: 4.942 MB / 0.5859 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.05576, allocations: 31.97 kB / 0.586 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.05581, allocations: 31.88 kB / 0.586 GB, free: 1.633 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.0003269/0.05613, allocations: 221.6 kB / 0.5862 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.05627, allocations: 55.67 kB / 0.5863 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.05789, allocations: 0.7616 MB / 0.587 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.05789, allocations: 4 kB / 0.587 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.0579, allocations: 4 kB / 0.587 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.05791, allocations: 3.984 kB / 0.587 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.06044, allocations: 1.323 MB / 0.5883 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.06044, allocations: 224 / 0.5883 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.06085, allocations: 71.89 kB / 0.5884 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007064/0.06156, allocations: 206.4 kB / 0.5886 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.06159, allocations: 8 kB / 0.5886 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/0.06707, allocations: 4.875 MB / 0.5933 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.06707, allocations: 8.016 kB / 0.5933 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.06904, allocations: 1.12 MB / 0.5944 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.06927, allocations: 87.62 kB / 0.5945 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.06934, allocations: 16.05 kB / 0.5945 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.06968, allocations: 32.16 kB / 0.5946 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.06978, allocations: 35.88 kB / 0.5946 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.06981, allocations: 23.94 kB / 0.5946 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003973/0.07021, allocations: 279.1 kB / 0.5949 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.07021, allocations: 0 / 0.5949 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007129/0.07092, allocations: 168 kB / 0.5951 GB, free: 7.895 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.0001913/0.07112, allocations: 119.1 kB / 0.5952 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.07283, allocations: 0.969 MB / 0.5961 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.07283, allocations: 0 / 0.5961 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.07386, allocations: 0.6642 MB / 0.5968 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008684/0.07472, allocations: 178.8 kB / 0.5969 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.07671, allocations: 1.206 MB / 0.5981 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.07709, allocations: 346 kB / 0.5984 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.07739, allocations: 112.8 kB / 0.5986 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.0775, allocations: 40.48 kB / 0.5986 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.0775, allocations: 0 / 0.5986 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of Templates: time 0.01628/0.09378, allocations: 9.017 MB / 0.6074 GB, free: 11.33 MB / 0.5137 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3932170905172825] Failed to read output from testmodel.py, exit status != 0: 0.1025814414024353 0.11672246000000001 0.088820616 Calling exit ...