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.002192/0.002192, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002628/0.002628, allocations: 177.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.614/1.614, allocations: 177.1 MB / 203.1 MB, free: 5.188 MB / 186.7 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.003233/0.003233, allocations: 246.5 kB / 259.8 MB, free: 12.73 MB / 250.7 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.216/1.216, allocations: 138.4 MB / 454.7 MB, free: 1.496 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.134e-05, allocations: 9.688 kB / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01618/0.0162, allocations: 10.92 MB / 0.565 GB, free: 5.895 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.03171, allocations: 8.917 MB / 0.5737 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009603/0.03267, allocations: 83.25 kB / 0.5738 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.004826/0.03749, allocations: 1.715 MB / 0.5755 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.04199, allocations: 1.613 MB / 0.5771 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.04373, allocations: 0.674 MB / 0.5777 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.0469, allocations: 2.375 MB / 0.58 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.04861, allocations: 1.152 MB / 0.5812 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.05062, allocations: 1.391 MB / 0.5825 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.05221, allocations: 0.9428 MB / 0.5834 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002513/0.05247, allocations: 136 kB / 0.5836 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.05394, allocations: 0.7521 MB / 0.5843 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006891/0.05463, allocations: 0.6114 MB / 0.5849 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008201/0.05545, allocations: 0.6 MB / 0.5855 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003394/0.05885, allocations: 2.621 MB / 0.588 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.05885, allocations: 0 / 0.588 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.233e-06/0.05885, allocations: 0 / 0.588 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.86e-05/0.05888, allocations: 4 kB / 0.588 GB, free: 14.2 MB / 0.5105 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.003883/0.06276, allocations: 2.217 MB / 0.5902 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.0628, allocations: 12.75 kB / 0.5902 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009886/0.07269, allocations: 1.719 MB / 0.5919 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.07548, allocations: 1.202 MB / 0.5931 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.07556, allocations: 82.69 kB / 0.5932 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.07582, allocations: 132.3 kB / 0.5933 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00441/0.08023, allocations: 2.193 MB / 0.5954 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.08028, allocations: 15.83 kB / 0.5954 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.08044, allocations: 51.98 kB / 0.5955 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/0.08082, allocations: 134.1 kB / 0.5956 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/0.0852, allocations: 1.23 MB / 0.5968 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2074/0.2926, allocations: 8.459 MB / 0.6051 GB, free: 93.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.2959, allocations: 0.8107 MB / 0.6059 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.2973, allocations: 409.7 kB / 0.6063 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.2973, allocations: 8.844 kB / 0.6063 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2974, allocations: 47.08 kB / 0.6063 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.064e-06/0.2974, allocations: 0 / 0.6063 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.01338/0.3107, allocations: 3.988 MB / 0.6102 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.3108, allocations: 59.94 kB / 0.6103 GB, free: 93.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.3122, allocations: 1.185 MB / 0.6114 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.3122, allocations: 43.45 kB / 0.6115 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.3127, allocations: 0.8612 MB / 0.6123 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.3129, allocations: 315 kB / 0.6126 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/0.3132, allocations: 223.4 kB / 0.6128 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3133, allocations: 0.5446 MB / 0.6133 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.3148, allocations: 0.5118 MB / 0.6138 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.3165, allocations: 0.8635 MB / 0.6147 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.3198, allocations: 1.406 MB / 0.6161 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3198, allocations: 3.656 kB / 0.6161 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006121/0.3259, allocations: 2.074 MB / 0.6181 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3259, allocations: 7.969 kB / 0.6181 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3259, allocations: 7.672 kB / 0.6181 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/0.3297, allocations: 0.7691 MB / 0.6189 GB, free: 89.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.3312, allocations: 305.2 kB / 0.6191 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.344, allocations: 16.25 MB / 0.635 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.3461, allocations: 178.3 kB / 0.6352 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.3463, allocations: 52.67 kB / 0.6352 GB, free: 74.24 MB / 0.5105 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.00058/0.3468, allocations: 278.1 kB / 0.6355 GB, free: 74.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.3471, allocations: 163.5 kB / 0.6357 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/0.3531, allocations: 1.885 MB / 0.6375 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.3531, allocations: 8.344 kB / 0.6375 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.3531, allocations: 7.906 kB / 0.6375 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3532, allocations: 5.438 kB / 0.6375 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008361/0.3615, allocations: 3.34 MB / 0.6408 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3615, allocations: 2.719 kB / 0.6408 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.3627, allocations: 241.8 kB / 0.641 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/0.3659, allocations: 0.7215 MB / 0.6417 GB, free: 71.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/0.366, allocations: 37.31 kB / 0.6418 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.3764, allocations: 16.12 MB / 0.6575 GB, free: 56.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3764, allocations: 2.75 kB / 0.6575 GB, free: 56.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005275/0.3817, allocations: 1.921 MB / 0.6594 GB, free: 55.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00074/0.3825, allocations: 292.9 kB / 0.6597 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.3826, allocations: 20.36 kB / 0.6597 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.384, allocations: 173.9 kB / 0.6598 GB, free: 55.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/0.3842, allocations: 88.09 kB / 0.6599 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-05/0.3843, allocations: 43.34 kB / 0.66 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007888/0.3851, allocations: 0.7131 MB / 0.6607 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3851, allocations: 0 / 0.6607 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001398/0.3865, allocations: 434.2 kB / 0.6611 GB, free: 55.23 MB / 0.5105 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.0002022/0.3867, allocations: 130 kB / 0.6612 GB, free: 55.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005217/0.3919, allocations: 2.915 MB / 0.664 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3919, allocations: 0 / 0.664 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003153/0.3951, allocations: 2.273 MB / 0.6663 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.3971, allocations: 0.498 MB / 0.6667 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.4022, allocations: 2.862 MB / 0.6695 GB, free: 47.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.4028, allocations: 0.7742 MB / 0.6703 GB, free: 47.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001054/0.4039, allocations: 314.4 kB / 0.6706 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.4042, allocations: 100.4 kB / 0.6707 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/0.4042, allocations: 0 / 0.6707 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.03756/0.4417, allocations: 31.24 MB / 0.7012 GB, free: 16.18 MB / 0.5105 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.013691182946786]