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.000915/0.000915, allocations: 93.06 kB / 19.65 MB, free: 276 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.000903/0.000903, allocations: 165 kB / 23.02 MB, free: 1.551 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.9667/0.9667, allocations: 177.1 MB / 203.4 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.001582/0.001582, allocations: 242 kB / 260.2 MB, free: 12.83 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.7125/0.7125, allocations: 138.4 MB / 455.2 MB, free: 1.539 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.753e-06/1.753e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.492e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006561/0.006586, allocations: 4.796 MB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.008727, allocations: 1.699 MB / 0.5615 GB, free: 9.984 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.008933, allocations: 35.69 kB / 0.5615 GB, free: 9.949 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.009461, allocations: 210.4 kB / 0.5617 GB, free: 9.742 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.00995, allocations: 449.1 kB / 0.5621 GB, free: 9.301 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.01041, allocations: 379.2 kB / 0.5625 GB, free: 8.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008147/0.01122, allocations: 1.267 MB / 0.5637 GB, free: 7.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.01179, allocations: 0.5294 MB / 0.5642 GB, free: 7.125 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.01233, allocations: 0.6664 MB / 0.5649 GB, free: 6.457 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.01276, allocations: 478.7 kB / 0.5653 GB, free: 5.988 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.448e-05/0.01284, allocations: 64 kB / 0.5654 GB, free: 5.926 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.01303, allocations: 147.7 kB / 0.5655 GB, free: 5.781 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.01324, allocations: 335.1 kB / 0.5659 GB, free: 5.453 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.01347, allocations: 315.2 kB / 0.5662 GB, free: 5.145 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.01405, allocations: 0.7435 MB / 0.5669 GB, free: 4.398 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01405, allocations: 0 / 0.5669 GB, free: 4.398 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01405, allocations: 3.938 kB / 0.5669 GB, free: 4.395 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.01406, allocations: 0 / 0.5669 GB, free: 4.395 MB / 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.001099/0.01516, allocations: 1.181 MB / 0.568 GB, free: 3.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.0152, allocations: 12.75 kB / 0.5681 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.0161, allocations: 343.7 kB / 0.5684 GB, free: 2.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.01668, allocations: 0.5524 MB / 0.5689 GB, free: 2.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.01672, allocations: 49.67 kB / 0.569 GB, free: 2.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.01679, allocations: 64.38 kB / 0.569 GB, free: 2.133 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.01764, allocations: 1.084 MB / 0.5701 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.01766, allocations: 12.11 kB / 0.5701 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.0177, allocations: 28.36 kB / 0.5701 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.954e-05/0.0178, allocations: 89.19 kB / 0.5702 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.01828, allocations: 355.2 kB / 0.5706 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.02135, allocations: 5.713 MB / 0.5761 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.02186, allocations: 293.3 kB / 0.5764 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.02205, allocations: 129.1 kB / 0.5765 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.02208, allocations: 8.5 kB / 0.5765 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.02211, allocations: 41.89 kB / 0.5766 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.02211, allocations: 0 / 0.5766 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001855/0.02397, allocations: 1.087 MB / 0.5776 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.024, allocations: 55.91 kB / 0.5777 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.02438, allocations: 0.5296 MB / 0.5782 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.0244, allocations: 37.7 kB / 0.5783 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.02461, allocations: 478.5 kB / 0.5787 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/0.02471, allocations: 182.5 kB / 0.5789 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.02484, allocations: 132.2 kB / 0.579 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.02501, allocations: 0.5313 MB / 0.5795 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.02519, allocations: 121.9 kB / 0.5796 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.02551, allocations: 428.6 kB / 0.5801 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.02604, allocations: 0.578 MB / 0.5806 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02605, allocations: 0 / 0.5806 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009066/0.02695, allocations: 0.7454 MB / 0.5813 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.02697, allocations: 8 kB / 0.5814 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.02699, allocations: 8 kB / 0.5814 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00075/0.02774, allocations: 314.7 kB / 0.5817 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.02799, allocations: 123.8 kB / 0.5818 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/0.03206, allocations: 7.606 MB / 0.5892 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.03231, allocations: 43.95 kB / 0.5893 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.03234, allocations: 31.94 kB / 0.5893 GB, free: 12.09 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.0001573/0.0325, allocations: 204.4 kB / 0.5895 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.03258, allocations: 79.58 kB / 0.5896 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007315/0.03331, allocations: 0.5491 MB / 0.5901 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.03331, allocations: 12 kB / 0.5901 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.03332, allocations: 0 / 0.5901 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.03332, allocations: 7.984 kB / 0.5901 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.03457, allocations: 1.158 MB / 0.5912 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03457, allocations: 0 / 0.5912 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.03471, allocations: 64.08 kB / 0.5913 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/0.03535, allocations: 306.7 kB / 0.5916 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.03538, allocations: 12 kB / 0.5916 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/0.03921, allocations: 7.602 MB / 0.599 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.03922, allocations: 7.938 kB / 0.599 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007213/0.03994, allocations: 0.7169 MB / 0.5997 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.04008, allocations: 111.5 kB / 0.5998 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.04012, allocations: 8 kB / 0.5998 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.04029, allocations: 35.95 kB / 0.5999 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.04036, allocations: 51.8 kB / 0.5999 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.04038, allocations: 8 kB / 0.5999 GB, free: 492 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002118/0.04059, allocations: 342.8 kB / 0.6003 GB, free: 152 kB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.04059, allocations: 0 / 0.6003 GB, free: 152 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.1982/0.2388, allocations: 217.9 kB / 0.6005 GB, free: 91.04 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.0001904/0.239, allocations: 111.6 kB / 0.6006 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.2401, allocations: 1.192 MB / 0.6017 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2401, allocations: 0 / 0.6017 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.2406, allocations: 0.9689 MB / 0.6027 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.2412, allocations: 192.5 kB / 0.6029 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.2427, allocations: 1.266 MB / 0.6041 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2428, allocations: 215.5 kB / 0.6043 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.243, allocations: 94 kB / 0.6044 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.2431, allocations: 43.05 kB / 0.6044 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.2431, allocations: 1.281 kB / 0.6044 GB, free: 88.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.01337/0.2565, allocations: 11.45 MB / 0.6156 GB, free: 87.99 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.919690776616335]