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.001648/0.001648, allocations: 78.11 kB / 19 MB, free: 2.867 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.002/0.002, allocations: 164.3 kB / 22.26 MB, free: 5.133 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.407/1.407, allocations: 177.2 MB / 202.6 MB, free: 9.258 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.002472/0.002472, allocations: 230 kB / 259.2 MB, free: 0.582 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.066/1.066, allocations: 138.5 MB / 454.2 MB, free: 2.07 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.003054/0.003054, allocations: 99.84 kB / 0.6466 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3694, allocations: 95.34 MB / 0.7397 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007429/0.3768, allocations: 5.242 MB / 0.7448 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005163/0.382, allocations: 2.584 MB / 0.7474 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.3823, allocations: 27.75 kB / 0.7474 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.3843, allocations: 0.6925 MB / 0.7481 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009634/0.3853, allocations: 421.7 kB / 0.7485 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3863, allocations: 394.3 kB / 0.7488 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.3874, allocations: 0.9555 MB / 0.7498 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006147/0.388, allocations: 379.6 kB / 0.7501 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007778/0.3888, allocations: 0.5258 MB / 0.7506 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.3894, allocations: 402.4 kB / 0.751 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.013e-05/0.3895, allocations: 48 kB / 0.7511 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006207/0.3901, allocations: 331.2 kB / 0.7514 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.3904, allocations: 255.2 kB / 0.7516 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.3908, allocations: 282.7 kB / 0.7519 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.392, allocations: 0.9883 MB / 0.7529 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.392, allocations: 4 kB / 0.7529 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.392, allocations: 0 / 0.7529 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.392, allocations: 0 / 0.7529 GB, free: 1.59 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.001695/0.3937, allocations: 0.913 MB / 0.7538 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.3937, allocations: 13.34 kB / 0.7538 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3951, allocations: 204.3 kB / 0.754 GB, free: 440 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008842/0.396, allocations: 451.7 kB / 0.7544 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.539e-05/0.3961, allocations: 41.36 kB / 0.7544 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.3963, allocations: 60.5 kB / 0.7545 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3977, allocations: 0.9824 MB / 0.7555 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.3977, allocations: 4 kB / 0.7555 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.3978, allocations: 16 kB / 0.7555 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/0.398, allocations: 68.95 kB / 0.7555 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/0.399, allocations: 0.5735 MB / 0.7561 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/0.4032, allocations: 3.484 MB / 0.7595 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.4037, allocations: 267.3 kB / 0.7598 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.404, allocations: 221.2 kB / 0.76 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.404, allocations: 4.281 kB / 0.76 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.404, allocations: 38.78 kB / 0.76 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.404, allocations: 0 / 0.76 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005507/0.4095, allocations: 2.323 MB / 0.7623 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.4096, allocations: 59.34 kB / 0.7623 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.4101, allocations: 433.7 kB / 0.7627 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.4101, allocations: 29.7 kB / 0.7628 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.4104, allocations: 356.4 kB / 0.7631 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.4105, allocations: 150.7 kB / 0.7633 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.4107, allocations: 110.2 kB / 0.7634 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4108, allocations: 362.7 kB / 0.7637 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.4112, allocations: 237.2 kB / 0.7639 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.4117, allocations: 411.4 kB / 0.7643 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009355/0.4127, allocations: 0.6839 MB / 0.765 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4127, allocations: 0 / 0.765 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001755/0.4144, allocations: 0.9099 MB / 0.7659 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4144, allocations: 8 kB / 0.7659 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4145, allocations: 4 kB / 0.7659 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007822/0.4152, allocations: 226.7 kB / 0.7661 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.4158, allocations: 115.8 kB / 0.7662 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.4212, allocations: 4.939 MB / 0.771 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.4217, allocations: 31.97 kB / 0.7711 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.4217, allocations: 24 kB / 0.7711 GB, free: 14.01 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.0003289/0.422, allocations: 225.7 kB / 0.7713 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.4221, allocations: 55.67 kB / 0.7714 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.4237, allocations: 0.7654 MB / 0.7721 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4237, allocations: 4 kB / 0.7721 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4237, allocations: 8 kB / 0.7721 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4237, allocations: 3.938 kB / 0.7721 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.4262, allocations: 1.323 MB / 0.7734 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4262, allocations: 0 / 0.7734 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.4266, allocations: 71.88 kB / 0.7735 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006949/0.4272, allocations: 210.5 kB / 0.7737 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.4273, allocations: 8 kB / 0.7737 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005206/0.4325, allocations: 4.876 MB / 0.7785 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4325, allocations: 4.031 kB / 0.7785 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.4344, allocations: 1.128 MB / 0.7796 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.4347, allocations: 87.62 kB / 0.7797 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.4347, allocations: 8 kB / 0.7797 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.435, allocations: 31.95 kB / 0.7797 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.4351, allocations: 35.94 kB / 0.7797 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.4352, allocations: 12 kB / 0.7797 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003438/0.4355, allocations: 287.1 kB / 0.78 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.4355, allocations: 0 / 0.78 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006812/0.4362, allocations: 164 kB / 0.7802 GB, free: 4.266 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.0001615/0.4364, allocations: 115.2 kB / 0.7803 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.4381, allocations: 0.9694 MB / 0.7812 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4381, allocations: 0 / 0.7812 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.4391, allocations: 0.6796 MB / 0.7819 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/0.4399, allocations: 180.8 kB / 0.7821 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.4421, allocations: 1.244 MB / 0.7833 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.4425, allocations: 357.9 kB / 0.7836 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003286/0.4428, allocations: 112.7 kB / 0.7837 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.4429, allocations: 36.5 kB / 0.7838 GB, free: 440 kB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.4429, allocations: 0 / 0.7838 GB, free: 440 kB / 0.6075 GB Notification: Performance of Templates: time 0.01709/0.46, allocations: 9.088 MB / 0.7926 GB, free: 7.57 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.076077379286289] Failed to read output from testmodel.py, exit status != 0: 0.4688027035444975 0.48346152099999995 0.088393054 Calling exit ...