Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001411/0.001411, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002252/0.002252, allocations: 223 kB / 23.01 MB, free: 4.609 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.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.002607/0.002607, allocations: 286.2 kB / 313.5 MB, free: 2.824 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.195/1.195, allocations: 180.6 MB / 0.5377 GB, free: 12.91 MB / 382.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") [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.002908/0.002908, allocations: 105.7 kB / 0.7408 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1919, allocations: 95.39 MB / 0.834 GB, free: 8.176 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01569/0.2076, allocations: 11.33 MB / 0.845 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.2226, allocations: 9.135 MB / 0.8539 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.2243, allocations: 79.31 kB / 0.854 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005057/0.2293, allocations: 1.747 MB / 0.8557 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.2344, allocations: 1.564 MB / 0.8573 GB, free: 244 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.2365, allocations: 0.684 MB / 0.8579 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003737/0.2402, allocations: 2.297 MB / 0.8602 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.2423, allocations: 1.157 MB / 0.8613 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.2444, allocations: 1.028 MB / 0.8623 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.2466, allocations: 1.066 MB / 0.8633 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004887/0.2471, allocations: 140 kB / 0.8635 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.2491, allocations: 0.8188 MB / 0.8643 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009027/0.25, allocations: 0.5802 MB / 0.8648 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.2515, allocations: 0.8822 MB / 0.8657 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004168/0.2556, allocations: 2.588 MB / 0.8682 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2557, allocations: 0 / 0.8682 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2557, allocations: 0 / 0.8682 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.845e-05/0.2557, allocations: 4 kB / 0.8682 GB, free: 4.926 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004584/0.2603, allocations: 1.991 MB / 0.8702 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2604, allocations: 13.33 kB / 0.8702 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.2716, allocations: 2.059 MB / 0.8722 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.2747, allocations: 1.134 MB / 0.8733 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2748, allocations: 90.69 kB / 0.8734 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004354/0.2753, allocations: 120.1 kB / 0.8735 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006216/0.2815, allocations: 2.483 MB / 0.8759 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.469e-05/0.2815, allocations: 7.938 kB / 0.8759 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.2817, allocations: 55.92 kB / 0.876 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003509/0.2821, allocations: 126.1 kB / 0.8761 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007363/0.2894, allocations: 2.541 MB / 0.8786 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.3052, allocations: 9.926 MB / 0.8883 GB, free: 15.48 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006095/0.3113, allocations: 1.85 MB / 0.8901 GB, free: 13.62 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.314, allocations: 0.9386 MB / 0.891 GB, free: 12.68 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.3141, allocations: 8.438 kB / 0.891 GB, free: 12.67 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.3141, allocations: 43 kB / 0.8911 GB, free: 12.62 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/0.3141, allocations: 0 / 0.8911 GB, free: 12.62 MB / 0.6388 GB Notification: Performance of matching and sorting (n=81): time 0.03119/0.3453, allocations: 8.634 MB / 0.8995 GB, free: 3.949 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3454, allocations: 60.06 kB / 0.8996 GB, free: 3.879 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.3472, allocations: 1.101 MB / 0.9006 GB, free: 2.762 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.3473, allocations: 37.7 kB / 0.9007 GB, free: 2.719 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006829/0.348, allocations: 0.7551 MB / 0.9014 GB, free: 1.957 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.3483, allocations: 301.4 kB / 0.9017 GB, free: 1.66 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/0.3487, allocations: 202.5 kB / 0.9019 GB, free: 1.457 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3489, allocations: 349.9 kB / 0.9022 GB, free: 1.109 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/0.3518, allocations: 1.071 MB / 0.9033 GB, free: 40 kB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.355, allocations: 1.305 MB / 0.9045 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005955/0.3609, allocations: 2.378 MB / 0.9069 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3609, allocations: 4 kB / 0.9069 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008964/0.3699, allocations: 3.249 MB / 0.91 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.3699, allocations: 8.875 kB / 0.91 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3699, allocations: 8 kB / 0.91 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/0.3728, allocations: 0.7911 MB / 0.9108 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/0.3747, allocations: 415.2 kB / 0.9112 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/0.393, allocations: 15.11 MB / 0.926 GB, free: 7.602 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.3952, allocations: 287.5 kB / 0.9263 GB, free: 7.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.3954, allocations: 51.97 kB / 0.9263 GB, free: 7.27 MB / 0.67 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0008477/0.3963, allocations: 400.1 kB / 0.9267 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/0.3967, allocations: 151.1 kB / 0.9268 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00891/0.4056, allocations: 3.175 MB / 0.9299 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4056, allocations: 11.94 kB / 0.9299 GB, free: 3.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/0.4056, allocations: 8 kB / 0.9299 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4056, allocations: 11.98 kB / 0.93 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.4175, allocations: 4.854 MB / 0.9347 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4175, allocations: 3.938 kB / 0.9347 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.4191, allocations: 351.4 kB / 0.935 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/0.4216, allocations: 0.7053 MB / 0.9357 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.565e-05/0.4216, allocations: 27.97 kB / 0.9358 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/0.4385, allocations: 14.73 MB / 0.9501 GB, free: 13.75 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.4385, allocations: 7.938 kB / 0.9501 GB, free: 13.74 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008187/0.4467, allocations: 3.025 MB / 0.9531 GB, free: 10.63 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008844/0.4475, allocations: 302.9 kB / 0.9534 GB, free: 10.34 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.4478, allocations: 19.98 kB / 0.9534 GB, free: 10.32 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/0.4499, allocations: 295.4 kB / 0.9537 GB, free: 10.03 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.4501, allocations: 84.45 kB / 0.9538 GB, free: 9.945 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4502, allocations: 35.97 kB / 0.9538 GB, free: 9.91 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.001188/0.4514, allocations: 0.7405 MB / 0.9545 GB, free: 9.168 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1e-07/0.4514, allocations: 0 / 0.9545 GB, free: 9.168 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.001562/0.453, allocations: 432 kB / 0.9549 GB, free: 8.746 MB / 0.7013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002758/0.4532, allocations: 139 kB / 0.9551 GB, free: 8.602 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.008485/0.4617, allocations: 3.511 MB / 0.9585 GB, free: 4.984 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.4617, allocations: 0 / 0.9585 GB, free: 4.984 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.004997/0.4667, allocations: 2.32 MB / 0.9608 GB, free: 2.559 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.4691, allocations: 0.53 MB / 0.9613 GB, free: 2.051 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.4772, allocations: 3.601 MB / 0.9648 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.4785, allocations: 1.395 MB / 0.9662 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/0.4791, allocations: 127.3 kB / 0.9663 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.4791, allocations: 0 / 0.9663 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of Templates: time 0.4126/0.8917, allocations: 75.21 MB / 1.04 GB, free: 124.9 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.838934703962877] Failed to read output from testmodel.py, exit status != 0: 0.89934569504112 0.908996743 0.651026803 Calling exit ...