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.001496/0.001496, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001571/0.001571, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.903/0.903, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.001675/0.001675, allocations: 221.8 kB / 260.5 MB, free: 12.88 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 0.6841/0.6841, allocations: 138.4 MB / 455.4 MB, free: 1.535 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 2.034e-06/2.034e-06, allocations: 0 / 0.555 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.816e-05, allocations: 9.484 kB / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01437/0.01439, allocations: 11 MB / 0.5658 GB, free: 5.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008801/0.02319, allocations: 8.94 MB / 0.5745 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.02372, allocations: 79.31 kB / 0.5746 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.02574, allocations: 1.719 MB / 0.5763 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.02777, allocations: 1.603 MB / 0.5778 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.0286, allocations: 0.6934 MB / 0.5785 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.03011, allocations: 2.356 MB / 0.5808 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.03112, allocations: 1.145 MB / 0.5819 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.03221, allocations: 1.391 MB / 0.5833 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000864/0.03307, allocations: 0.9427 MB / 0.5842 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.03322, allocations: 136 kB / 0.5843 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007471/0.03396, allocations: 0.756 MB / 0.5851 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.03434, allocations: 0.6075 MB / 0.5857 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.03479, allocations: 0.6001 MB / 0.5863 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.03616, allocations: 1.728 MB / 0.5879 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.03617, allocations: 4 kB / 0.5879 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.112e-06/0.03617, allocations: 4 kB / 0.588 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.03618, allocations: 0 / 0.588 GB, free: 15.03 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.00185/0.03803, allocations: 2.092 MB / 0.59 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.03806, allocations: 8.75 kB / 0.59 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/0.04278, allocations: 1.727 MB / 0.5917 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.04401, allocations: 1.182 MB / 0.5928 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.04405, allocations: 86.7 kB / 0.5929 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.0442, allocations: 120.4 kB / 0.593 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.04627, allocations: 2.072 MB / 0.5951 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.0463, allocations: 15.83 kB / 0.5951 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.04641, allocations: 52 kB / 0.5951 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.04661, allocations: 126.1 kB / 0.5952 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.04772, allocations: 0.7622 MB / 0.596 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1853/0.2331, allocations: 7.92 MB / 0.6037 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.2344, allocations: 0.6103 MB / 0.6043 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.2347, allocations: 239.1 kB / 0.6046 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.2347, allocations: 11.91 kB / 0.6046 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2347, allocations: 43.83 kB / 0.6046 GB, free: 94.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.255e-06/0.2347, allocations: 0.7188 kB / 0.6046 GB, free: 94.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.005298/0.24, allocations: 3.027 MB / 0.6076 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.2401, allocations: 63.62 kB / 0.6076 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.2407, allocations: 0.9306 MB / 0.6085 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.2408, allocations: 40.83 kB / 0.6086 GB, free: 94.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.2411, allocations: 0.8151 MB / 0.6094 GB, free: 93.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.2412, allocations: 298.4 kB / 0.6097 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.2415, allocations: 196.1 kB / 0.6098 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.2415, allocations: 0.515 MB / 0.6103 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.242, allocations: 313.3 kB / 0.6106 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.2424, allocations: 0.6319 MB / 0.6113 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009447/0.2434, allocations: 0.9625 MB / 0.6122 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2434, allocations: 0 / 0.6122 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002331/0.2457, allocations: 1.602 MB / 0.6138 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2457, allocations: 8.062 kB / 0.6138 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2458, allocations: 8.844 kB / 0.6138 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.2476, allocations: 0.6933 MB / 0.6145 GB, free: 91.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.2483, allocations: 298.8 kB / 0.6147 GB, free: 91.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.2587, allocations: 15.61 MB / 0.63 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.2601, allocations: 178.2 kB / 0.6302 GB, free: 76.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.2602, allocations: 52.11 kB / 0.6302 GB, free: 76.69 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.000458/0.2606, allocations: 213.4 kB / 0.6304 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.2609, allocations: 167.6 kB / 0.6306 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/0.2645, allocations: 1.439 MB / 0.632 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2645, allocations: 8.094 kB / 0.632 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.2645, allocations: 7.344 kB / 0.632 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2646, allocations: 4.641 kB / 0.632 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0053/0.2699, allocations: 2.627 MB / 0.6346 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2699, allocations: 5.969 kB / 0.6346 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/0.2708, allocations: 244.5 kB / 0.6348 GB, free: 74.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.2732, allocations: 0.6527 MB / 0.6354 GB, free: 74.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.585e-05/0.2733, allocations: 33.38 kB / 0.6355 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008656/0.282, allocations: 15.56 MB / 0.6507 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.282, allocations: 3.531 kB / 0.6507 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.2853, allocations: 1.482 MB / 0.6521 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/0.2859, allocations: 285.1 kB / 0.6524 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.2861, allocations: 19.33 kB / 0.6524 GB, free: 58.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.2871, allocations: 177.2 kB / 0.6526 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/0.2874, allocations: 86.05 kB / 0.6527 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.2875, allocations: 40.38 kB / 0.6527 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008123/0.2883, allocations: 0.5712 MB / 0.6533 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2883, allocations: 0 / 0.6533 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001833/0.2902, allocations: 437.2 kB / 0.6537 GB, free: 58.59 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.0002545/0.2904, allocations: 127.2 kB / 0.6538 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003298/0.2937, allocations: 2.49 MB / 0.6562 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.2937, allocations: 1.031 kB / 0.6562 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.2957, allocations: 2.042 MB / 0.6582 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.2975, allocations: 0.51 MB / 0.6587 GB, free: 55.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.3024, allocations: 2.633 MB / 0.6613 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.3028, allocations: 394.5 kB / 0.6617 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001104/0.3039, allocations: 304.9 kB / 0.662 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.3042, allocations: 95.88 kB / 0.662 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/0.3042, allocations: 0 / 0.662 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.03904/0.3432, allocations: 31.28 MB / 0.6926 GB, free: 25.11 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: 4.221794490003958]