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.001436/0.001436, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.00174/0.00174, allocations: 170 kB / 23.28 MB, free: 1.219 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.011/1.011, allocations: 177.1 MB / 203.7 MB, free: 5.512 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: 245.3 kB / 260.5 MB, free: 12.67 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.7219/0.7219, allocations: 138.4 MB / 455.5 MB, free: 1.391 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.563e-06/1.563e-06, allocations: 0 / 0.5556 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.311e-05, allocations: 6.312 kB / 0.5556 GB, free: 228 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005874/0.005897, allocations: 4.71 MB / 0.5602 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.008832, allocations: 1.692 MB / 0.5619 GB, free: 9.785 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.009198, allocations: 35.69 kB / 0.5619 GB, free: 9.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006901/0.0161, allocations: 210.4 kB / 0.5621 GB, free: 9.543 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.01716, allocations: 453 kB / 0.5625 GB, free: 9.098 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009606/0.01812, allocations: 375.2 kB / 0.5629 GB, free: 8.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004631/0.02276, allocations: 1.279 MB / 0.5641 GB, free: 7.449 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000917/0.02367, allocations: 0.5295 MB / 0.5647 GB, free: 6.914 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.02473, allocations: 0.6664 MB / 0.5653 GB, free: 6.246 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.02857, allocations: 498.6 kB / 0.5658 GB, free: 5.758 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.02871, allocations: 68 kB / 0.5658 GB, free: 5.691 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.02907, allocations: 139.8 kB / 0.566 GB, free: 5.555 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.02941, allocations: 335 kB / 0.5663 GB, free: 5.227 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.02976, allocations: 307.3 kB / 0.5666 GB, free: 4.926 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008981/0.03066, allocations: 0.7396 MB / 0.5673 GB, free: 4.184 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.03066, allocations: 0 / 0.5673 GB, free: 4.184 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.03066, allocations: 0 / 0.5673 GB, free: 4.184 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.03068, allocations: 0 / 0.5673 GB, free: 4.184 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.003631/0.03431, allocations: 1.173 MB / 0.5685 GB, free: 2.973 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.03436, allocations: 12.75 kB / 0.5685 GB, free: 2.961 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.03553, allocations: 287.8 kB / 0.5687 GB, free: 2.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008475/0.03637, allocations: 0.5199 MB / 0.5692 GB, free: 2.129 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.03642, allocations: 53.67 kB / 0.5693 GB, free: 2.078 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.03652, allocations: 68.31 kB / 0.5694 GB, free: 2.012 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.03756, allocations: 1.029 MB / 0.5704 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.03759, allocations: 8.125 kB / 0.5704 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.03765, allocations: 32.36 kB / 0.5704 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.03779, allocations: 93.19 kB / 0.5705 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.03828, allocations: 292.5 kB / 0.5708 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/0.04247, allocations: 5.569 MB / 0.5762 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.04303, allocations: 262.5 kB / 0.5765 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.04322, allocations: 117.1 kB / 0.5766 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.04325, allocations: 8.5 kB / 0.5766 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.04328, allocations: 41.89 kB / 0.5766 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.494e-06/0.04328, allocations: 0 / 0.5766 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.002319/0.0456, allocations: 0.9006 MB / 0.5775 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.04564, allocations: 55.91 kB / 0.5776 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.04611, allocations: 0.5138 MB / 0.5781 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.04615, allocations: 41.7 kB / 0.5781 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.04643, allocations: 486.4 kB / 0.5786 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.04656, allocations: 182.5 kB / 0.5787 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.04674, allocations: 128.2 kB / 0.5789 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.04693, allocations: 0.5507 MB / 0.5794 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.04709, allocations: 85.92 kB / 0.5795 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.04743, allocations: 400.6 kB / 0.5799 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.04802, allocations: 0.5311 MB / 0.5804 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.04802, allocations: 0 / 0.5804 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001169/0.04919, allocations: 0.6786 MB / 0.581 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.04921, allocations: 8 kB / 0.5811 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.04923, allocations: 8.625 kB / 0.5811 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.05026, allocations: 298.4 kB / 0.5813 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.05063, allocations: 111.8 kB / 0.5815 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005034/0.05566, allocations: 7.483 MB / 0.5888 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.0561, allocations: 24 kB / 0.5888 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.05615, allocations: 20 kB / 0.5888 GB, free: 12.83 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.0002349/0.05638, allocations: 200.6 kB / 0.589 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.0565, allocations: 91.59 kB / 0.5891 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008867/0.05739, allocations: 0.4907 MB / 0.5896 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.0574, allocations: 4 kB / 0.5896 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.0574, allocations: 7.938 kB / 0.5896 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.05741, allocations: 3.984 kB / 0.5896 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.05904, allocations: 1.01 MB / 0.5906 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.05904, allocations: 0 / 0.5906 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.05923, allocations: 51.92 kB / 0.5906 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009329/0.06017, allocations: 282.6 kB / 0.5909 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.0602, allocations: 12 kB / 0.5909 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0047/0.0649, allocations: 7.472 MB / 0.5982 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.0649, allocations: 8.062 kB / 0.5982 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/0.06588, allocations: 0.6738 MB / 0.5989 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.06609, allocations: 107.5 kB / 0.599 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.06615, allocations: 12 kB / 0.599 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.06641, allocations: 8 kB / 0.599 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.06651, allocations: 51.84 kB / 0.599 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.06654, allocations: 12 kB / 0.599 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002688/0.06681, allocations: 322.7 kB / 0.5993 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.06681, allocations: 0 / 0.5993 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008636/0.06767, allocations: 224 kB / 0.5996 GB, free: 1.168 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.0001435/0.06782, allocations: 118.8 kB / 0.5997 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1628/0.2306, allocations: 1.133 MB / 0.6008 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.2306, allocations: 2.094 kB / 0.6008 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.2312, allocations: 0.9442 MB / 0.6017 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.2318, allocations: 200.2 kB / 0.6019 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2332, allocations: 1.254 MB / 0.6031 GB, free: 89.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2333, allocations: 211.4 kB / 0.6033 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.2335, allocations: 75.62 kB / 0.6034 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.2337, allocations: 246.7 kB / 0.6036 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/0.2337, allocations: 1.141 kB / 0.6036 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.01339/0.2471, allocations: 12.1 MB / 0.6154 GB, free: 88.9 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: 4.015087473206222]