Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0008769/0.0008769, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009513/0.0009513, allocations: 173 kB / 23.49 MB, free: 1.055 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.9045/0.9045, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.001772/0.001772, allocations: 240.7 kB / 260.5 MB, free: 12.9 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.7091/0.7091, allocations: 138.4 MB / 455.4 MB, free: 1.531 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.353e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005595/0.005609, allocations: 6.827 MB / 0.5617 GB, free: 9.992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.009105, allocations: 3.106 MB / 0.5647 GB, free: 6.875 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.009411, allocations: 39.62 kB / 0.5648 GB, free: 6.836 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.01063, allocations: 0.9802 MB / 0.5657 GB, free: 5.852 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007223/0.01135, allocations: 0.5357 MB / 0.5663 GB, free: 5.312 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.01199, allocations: 430.8 kB / 0.5667 GB, free: 4.891 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000848/0.01284, allocations: 1.259 MB / 0.5679 GB, free: 3.629 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.0134, allocations: 0.5334 MB / 0.5684 GB, free: 3.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.01395, allocations: 0.6701 MB / 0.5691 GB, free: 2.418 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.01438, allocations: 490.6 kB / 0.5695 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.01445, allocations: 68 kB / 0.5696 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.01482, allocations: 339.2 kB / 0.5699 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.01503, allocations: 339 kB / 0.5703 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.01525, allocations: 311.3 kB / 0.5705 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.01609, allocations: 0.8642 MB / 0.5714 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01609, allocations: 4 kB / 0.5714 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01609, allocations: 0 / 0.5714 GB, free: 32 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.0161, allocations: 3.938 kB / 0.5714 GB, free: 28 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00112/0.01722, allocations: 1.212 MB / 0.5726 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.01725, allocations: 8.75 kB / 0.5726 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.01821, allocations: 343.7 kB / 0.5729 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.01878, allocations: 0.5485 MB / 0.5735 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.01881, allocations: 49.67 kB / 0.5735 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.01888, allocations: 64.38 kB / 0.5736 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008089/0.01969, allocations: 1.084 MB / 0.5746 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.01971, allocations: 4.125 kB / 0.5746 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.01976, allocations: 36.36 kB / 0.5747 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.01986, allocations: 89.19 kB / 0.5747 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.02034, allocations: 355.2 kB / 0.5751 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.02326, allocations: 5.709 MB / 0.5807 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.02373, allocations: 293.2 kB / 0.5809 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.02391, allocations: 137.1 kB / 0.5811 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.02393, allocations: 8.5 kB / 0.5811 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.02395, allocations: 41.89 kB / 0.5811 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.02396, allocations: 0 / 0.5811 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001768/0.02572, allocations: 1.087 MB / 0.5822 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.02575, allocations: 55.91 kB / 0.5822 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.02609, allocations: 0.5219 MB / 0.5827 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.02612, allocations: 37.7 kB / 0.5828 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.02632, allocations: 482.5 kB / 0.5832 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.97e-05/0.02641, allocations: 178.5 kB / 0.5834 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.02653, allocations: 128.2 kB / 0.5835 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.02667, allocations: 0.543 MB / 0.5841 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.02684, allocations: 117.9 kB / 0.5842 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.02713, allocations: 424.6 kB / 0.5846 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/0.02775, allocations: 0.5819 MB / 0.5851 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.02776, allocations: 4 kB / 0.5852 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000877/0.02864, allocations: 0.7377 MB / 0.5859 GB, free: 340 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.02865, allocations: 8 kB / 0.5859 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.02866, allocations: 11.94 kB / 0.5859 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/0.0294, allocations: 306.7 kB / 0.5862 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.02966, allocations: 127.8 kB / 0.5863 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.03322, allocations: 7.614 MB / 0.5937 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.03347, allocations: 35.97 kB / 0.5938 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.0335, allocations: 35.88 kB / 0.5938 GB, free: 7.695 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.000145/0.03364, allocations: 200.5 kB / 0.594 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.03373, allocations: 87.58 kB / 0.5941 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.03443, allocations: 0.5414 MB / 0.5946 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.03443, allocations: 8 kB / 0.5946 GB, free: 6.828 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.03444, allocations: 4 kB / 0.5946 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.03444, allocations: 7.922 kB / 0.5946 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.03568, allocations: 1.154 MB / 0.5958 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.03569, allocations: 4 kB / 0.5958 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.03583, allocations: 68.08 kB / 0.5958 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006552/0.03648, allocations: 294.4 kB / 0.5961 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.03651, allocations: 8 kB / 0.5961 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1819/0.2184, allocations: 7.597 MB / 0.6035 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2184, allocations: 2.562 kB / 0.6035 GB, free: 95.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.2192, allocations: 0.7331 MB / 0.6043 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2193, allocations: 108.8 kB / 0.6044 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.2194, allocations: 11.66 kB / 0.6044 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2196, allocations: 28.67 kB / 0.6044 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/0.2197, allocations: 48.3 kB / 0.6044 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2197, allocations: 20.72 kB / 0.6045 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001957/0.2199, allocations: 340.1 kB / 0.6048 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.2199, allocations: 2.812 kB / 0.6048 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005316/0.2204, allocations: 221 kB / 0.605 GB, free: 95.17 MB / 0.5105 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.2205, allocations: 110.9 kB / 0.6051 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008978/0.2214, allocations: 1.2 MB / 0.6063 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2214, allocations: 2.781 kB / 0.6063 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.2219, allocations: 0.971 MB / 0.6072 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.2225, allocations: 190.4 kB / 0.6074 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2239, allocations: 1.259 MB / 0.6086 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.224, allocations: 208.7 kB / 0.6088 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.2242, allocations: 100.7 kB / 0.6089 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.2242, allocations: 44.19 kB / 0.609 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/0.2242, allocations: 0.9062 kB / 0.609 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.0135/0.2378, allocations: 11.45 MB / 0.6202 GB, free: 92.04 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8750861880835146]