Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001796/0.001796, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002013/0.002013, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.479/1.479, 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.002485/0.002485, allocations: 237.5 kB / 260 MB, free: 452 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 0.9208/0.9208, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [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.003089/0.003089, allocations: 95.84 kB / 0.6473 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3931, allocations: 95.35 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00655/0.3996, allocations: 5.918 MB / 0.7462 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004332/0.4039, allocations: 3.131 MB / 0.7493 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.4042, allocations: 40.06 kB / 0.7493 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.4064, allocations: 0.9292 MB / 0.7502 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008606/0.4072, allocations: 497.6 kB / 0.7507 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009541/0.4082, allocations: 488.4 kB / 0.7512 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.4091, allocations: 1.09 MB / 0.7522 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/0.4098, allocations: 0.5088 MB / 0.7527 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.4103, allocations: 458.3 kB / 0.7532 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005754/0.4109, allocations: 474.4 kB / 0.7536 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.411, allocations: 58.38 kB / 0.7537 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006798/0.4116, allocations: 443.4 kB / 0.7541 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.4119, allocations: 293.6 kB / 0.7544 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.4122, allocations: 333.3 kB / 0.7547 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.4133, allocations: 1.198 MB / 0.7559 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4133, allocations: 0 / 0.7559 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4133, allocations: 1.312 kB / 0.7559 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.4133, allocations: 4 kB / 0.7559 GB, free: 8.457 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001293/0.4146, allocations: 0.9883 MB / 0.7569 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.4147, allocations: 11.22 kB / 0.7569 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.4161, allocations: 233 kB / 0.7571 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007875/0.4169, allocations: 0.5181 MB / 0.7576 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.417, allocations: 47.45 kB / 0.7576 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.417, allocations: 65 kB / 0.7577 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.4182, allocations: 1.132 MB / 0.7588 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.4182, allocations: 15.36 kB / 0.7588 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.4183, allocations: 28.33 kB / 0.7588 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.905e-05/0.4184, allocations: 70.95 kB / 0.7589 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.4193, allocations: 0.6923 MB / 0.7596 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.4226, allocations: 4.392 MB / 0.7639 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.4232, allocations: 410.3 kB / 0.7643 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.424, allocations: 390.9 kB / 0.7646 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.424, allocations: 5.094 kB / 0.7646 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.424, allocations: 36.72 kB / 0.7647 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.424, allocations: 0 / 0.7647 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.003785/0.4278, allocations: 1.708 MB / 0.7663 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.4278, allocations: 64.16 kB / 0.7664 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.4282, allocations: 431.3 kB / 0.7668 GB, free: 316 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.4282, allocations: 30.83 kB / 0.7668 GB, free: 280 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4284, allocations: 396 kB / 0.7672 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.4285, allocations: 161.8 kB / 0.7674 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.4287, allocations: 113.9 kB / 0.7675 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.4289, allocations: 358.8 kB / 0.7678 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.4293, allocations: 246.9 kB / 0.7681 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.4298, allocations: 452.3 kB / 0.7685 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/0.4308, allocations: 0.7393 MB / 0.7692 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4308, allocations: 2.562 kB / 0.7692 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001852/0.4326, allocations: 1.04 MB / 0.7702 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4327, allocations: 8.031 kB / 0.7702 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4327, allocations: 6.5 kB / 0.7703 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009843/0.4337, allocations: 320.7 kB / 0.7706 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.434, allocations: 99.66 kB / 0.7707 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/0.4414, allocations: 6.924 MB / 0.7774 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.4417, allocations: 30.83 kB / 0.7774 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.4418, allocations: 29.66 kB / 0.7775 GB, free: 7.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003356/0.4421, allocations: 239.6 kB / 0.7777 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.379e-05/0.4422, allocations: 58.91 kB / 0.7778 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.444, allocations: 0.8851 MB / 0.7786 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.444, allocations: 3.75 kB / 0.7786 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.444, allocations: 3.938 kB / 0.7786 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.444, allocations: 11.92 kB / 0.7786 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.4465, allocations: 1.481 MB / 0.7801 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4465, allocations: 6.969 kB / 0.7801 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.4467, allocations: 53.39 kB / 0.7801 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009259/0.4476, allocations: 303 kB / 0.7804 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.4477, allocations: 12.22 kB / 0.7804 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007283/0.455, allocations: 6.916 MB / 0.7872 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.455, allocations: 1.375 kB / 0.7872 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.4566, allocations: 0.9743 MB / 0.7882 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.4568, allocations: 99.81 kB / 0.7882 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.4569, allocations: 8.312 kB / 0.7883 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.4572, allocations: 25.06 kB / 0.7883 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.4573, allocations: 50.33 kB / 0.7883 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.4573, allocations: 12.84 kB / 0.7883 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002962/0.4576, allocations: 277 kB / 0.7886 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4576, allocations: 0 / 0.7886 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007593/0.4584, allocations: 196.7 kB / 0.7888 GB, free: 14.35 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.4585, allocations: 104.5 kB / 0.7889 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.4604, allocations: 1.161 MB / 0.79 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4604, allocations: 1.75 kB / 0.79 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.4617, allocations: 0.8392 MB / 0.7908 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/0.4626, allocations: 200.3 kB / 0.791 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.4646, allocations: 1.254 MB / 0.7923 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.465, allocations: 393.8 kB / 0.7926 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.4652, allocations: 99.92 kB / 0.7927 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.4653, allocations: 36.5 kB / 0.7928 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.4653, allocations: 0 / 0.7928 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.01804/0.4834, allocations: 10.31 MB / 0.8028 GB, free: 1.43 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.22625910199713] Failed to read output from testmodel.py, exit status != 0: 0.4914133088896051 0.505582628 0.089216291 Calling exit ...