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.001345/0.001345, allocations: 78.8 kB / 19.76 MB, free: 1.875 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.001424/0.001424, allocations: 160.1 kB / 23.01 MB, free: 4.602 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.002553/0.002553, allocations: 238.7 kB / 260 MB, free: 464 kB / 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.047/1.047, allocations: 138.5 MB / 455 MB, free: 1.629 MB / 366.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.003177/0.003177, allocations: 103.8 kB / 0.6473 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3657, allocations: 95.34 MB / 0.7405 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007682/0.3734, allocations: 5.278 MB / 0.7456 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004666/0.378, allocations: 2.615 MB / 0.7482 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.3783, allocations: 31.69 kB / 0.7482 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.3802, allocations: 0.6846 MB / 0.7489 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008406/0.381, allocations: 425.7 kB / 0.7493 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008775/0.3819, allocations: 395 kB / 0.7496 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.383, allocations: 0.9478 MB / 0.7506 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005433/0.3835, allocations: 375.9 kB / 0.7509 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.384, allocations: 390.6 kB / 0.7513 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.3846, allocations: 410.3 kB / 0.7517 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-05/0.3847, allocations: 48 kB / 0.7517 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00053/0.3852, allocations: 323.3 kB / 0.752 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.3855, allocations: 263.2 kB / 0.7523 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.3858, allocations: 282.7 kB / 0.7526 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3869, allocations: 0.9842 MB / 0.7535 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3869, allocations: 3.938 kB / 0.7535 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3869, allocations: 0 / 0.7535 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.3869, allocations: 0 / 0.7535 GB, free: 1.629 MB / 0.5762 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.001562/0.3885, allocations: 0.9169 MB / 0.7544 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3885, allocations: 13.94 kB / 0.7544 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.3899, allocations: 196.3 kB / 0.7546 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/0.3908, allocations: 467.7 kB / 0.7551 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.3908, allocations: 33.38 kB / 0.7551 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3909, allocations: 56.42 kB / 0.7552 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.3922, allocations: 0.9824 MB / 0.7561 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.3923, allocations: 4 kB / 0.7561 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.3923, allocations: 20 kB / 0.7561 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.3925, allocations: 72.94 kB / 0.7562 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.3935, allocations: 0.5696 MB / 0.7568 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00424/0.3977, allocations: 3.48 MB / 0.7602 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.3982, allocations: 271.3 kB / 0.7604 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.3985, allocations: 221.2 kB / 0.7606 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3985, allocations: 4.281 kB / 0.7606 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3986, allocations: 34.84 kB / 0.7607 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.3986, allocations: 3.938 kB / 0.7607 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005641/0.4042, allocations: 2.323 MB / 0.7629 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4042, allocations: 59.39 kB / 0.763 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.4047, allocations: 429.7 kB / 0.7634 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.4047, allocations: 29.7 kB / 0.7634 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.405, allocations: 352.4 kB / 0.7638 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.4051, allocations: 154.7 kB / 0.7639 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.4053, allocations: 114.2 kB / 0.764 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4054, allocations: 362.7 kB / 0.7644 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.4058, allocations: 245.2 kB / 0.7646 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.4063, allocations: 399.4 kB / 0.765 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.4073, allocations: 0.6839 MB / 0.7657 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4073, allocations: 0 / 0.7657 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001735/0.409, allocations: 0.9102 MB / 0.7665 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4091, allocations: 8 kB / 0.7666 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4091, allocations: 8.031 kB / 0.7666 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008025/0.4099, allocations: 214.4 kB / 0.7668 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.4104, allocations: 115.8 kB / 0.7669 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.4158, allocations: 4.945 MB / 0.7717 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.4162, allocations: 31.97 kB / 0.7717 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.4162, allocations: 27.98 kB / 0.7718 GB, free: 14.04 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.0002882/0.4165, allocations: 225.6 kB / 0.772 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.4166, allocations: 55.67 kB / 0.772 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4182, allocations: 0.7654 MB / 0.7728 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4182, allocations: 4 kB / 0.7728 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4182, allocations: 4 kB / 0.7728 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.4182, allocations: 3.938 kB / 0.7728 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.4207, allocations: 1.326 MB / 0.7741 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4207, allocations: 0 / 0.7741 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.421, allocations: 68.16 kB / 0.7742 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006977/0.4217, allocations: 210.3 kB / 0.7744 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.4218, allocations: 8 kB / 0.7744 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005149/0.4269, allocations: 4.872 MB / 0.7791 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4269, allocations: 8.156 kB / 0.7791 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.4288, allocations: 1.124 MB / 0.7802 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.429, allocations: 87.62 kB / 0.7803 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.429, allocations: 15.98 kB / 0.7803 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.4294, allocations: 23.97 kB / 0.7803 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.4295, allocations: 36 kB / 0.7804 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.4295, allocations: 16 kB / 0.7804 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003102/0.4298, allocations: 287.1 kB / 0.7807 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.4298, allocations: 0 / 0.7807 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006399/0.4304, allocations: 164 kB / 0.7808 GB, free: 4.305 MB / 0.6075 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.0001494/0.4306, allocations: 118.3 kB / 0.7809 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.4322, allocations: 0.9655 MB / 0.7819 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4322, allocations: 3.938 kB / 0.7819 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4332, allocations: 0.6719 MB / 0.7825 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/0.4341, allocations: 170.5 kB / 0.7827 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.4361, allocations: 1.262 MB / 0.7839 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.4364, allocations: 350 kB / 0.7843 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.4367, allocations: 116.7 kB / 0.7844 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.4368, allocations: 36.5 kB / 0.7844 GB, free: 484 kB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.4368, allocations: 0 / 0.7844 GB, free: 484 kB / 0.6075 GB Notification: Performance of Templates: time 0.01635/0.4532, allocations: 9.084 MB / 0.7933 GB, free: 7.621 MB / 0.6231 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 ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.928389588021673] Failed to read output from testmodel.py, exit status != 0: 0.4616599330911413 0.48468847600000003 0.093083554 Calling exit ...