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.001331/0.001331, allocations: 88.72 kB / 19.44 MB, free: 356 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.001641/0.001641, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.461/1.461, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.002653/0.002653, allocations: 230.1 kB / 259.8 MB, free: 12.84 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.071/1.071, allocations: 138.4 MB / 454.7 MB, free: 1.441 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 6.382e-06/6.382e-06, allocations: 3.984 kB / 0.5543 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.732e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01635/0.01638, allocations: 6.37 MB / 0.5606 GB, free: 10.42 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.009659/0.02604, allocations: 3.004 MB / 0.5635 GB, free: 7.406 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006441/0.02669, allocations: 35.69 kB / 0.5635 GB, free: 7.371 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004209/0.0309, allocations: 0.9567 MB / 0.5645 GB, free: 6.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.0331, allocations: 0.5241 MB / 0.565 GB, free: 5.883 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.03498, allocations: 438.7 kB / 0.5654 GB, free: 5.453 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.03779, allocations: 1.259 MB / 0.5666 GB, free: 4.188 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.03921, allocations: 0.5295 MB / 0.5671 GB, free: 3.652 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.04078, allocations: 0.6624 MB / 0.5678 GB, free: 2.988 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.04202, allocations: 482.7 kB / 0.5682 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.0422, allocations: 68 kB / 0.5683 GB, free: 2.449 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.04335, allocations: 351.1 kB / 0.5686 GB, free: 2.105 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000585/0.04393, allocations: 331 kB / 0.569 GB, free: 1.781 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.04482, allocations: 311.2 kB / 0.5693 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.04743, allocations: 1.25 MB / 0.5705 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.04743, allocations: 0 / 0.5705 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.04743, allocations: 0 / 0.5705 GB, free: 228 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.04745, allocations: 0 / 0.5705 GB, free: 228 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.003481/0.05093, allocations: 1.104 MB / 0.5716 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.05098, allocations: 8.75 kB / 0.5716 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/0.05404, allocations: 347.7 kB / 0.5719 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.05586, allocations: 0.5574 MB / 0.5724 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-05/0.05594, allocations: 45.67 kB / 0.5725 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.05617, allocations: 68.36 kB / 0.5725 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.05941, allocations: 1.329 MB / 0.5738 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.05945, allocations: 8.125 kB / 0.5739 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.05959, allocations: 36.36 kB / 0.5739 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000284/0.05988, allocations: 85.19 kB / 0.574 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.06218, allocations: 0.7543 MB / 0.5747 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00993/0.07211, allocations: 4.515 MB / 0.5791 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.07392, allocations: 0.5176 MB / 0.5796 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000823/0.07474, allocations: 290.2 kB / 0.5799 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/0.0748, allocations: 8.5 kB / 0.5799 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/0.07486, allocations: 43.05 kB / 0.5799 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 3.186e-06/0.07486, allocations: 0 / 0.5799 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.007004/0.08187, allocations: 1.693 MB / 0.5816 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.08195, allocations: 59.84 kB / 0.5817 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.08304, allocations: 0.5066 MB / 0.5822 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.08311, allocations: 33.7 kB / 0.5822 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.08366, allocations: 435.8 kB / 0.5826 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.08394, allocations: 174.5 kB / 0.5828 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/0.08431, allocations: 122.6 kB / 0.5829 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005614/0.08487, allocations: 370.8 kB / 0.5832 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/0.08568, allocations: 273.8 kB / 0.5835 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.08683, allocations: 496.9 kB / 0.584 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.08894, allocations: 0.8086 MB / 0.5848 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.08895, allocations: 4 kB / 0.5848 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003582/0.09253, allocations: 1.097 MB / 0.5858 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.09256, allocations: 11.84 kB / 0.5858 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.09258, allocations: 8 kB / 0.5859 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/0.09522, allocations: 383 kB / 0.5862 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/0.09613, allocations: 127.8 kB / 0.5863 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.1089, allocations: 6.617 MB / 0.5928 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009863/0.1099, allocations: 31.97 kB / 0.5928 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.11, allocations: 35.94 kB / 0.5929 GB, free: 8.18 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.0006409/0.1107, allocations: 253.5 kB / 0.5931 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.1109, allocations: 75.69 kB / 0.5932 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.1134, allocations: 0.8856 MB / 0.594 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1134, allocations: 4 kB / 0.5941 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1134, allocations: 4 kB / 0.5941 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1134, allocations: 3.984 kB / 0.5941 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.1163, allocations: 1.53 MB / 0.5956 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1164, allocations: 0 / 0.5956 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.1166, allocations: 63.89 kB / 0.5956 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.1181, allocations: 363.4 kB / 0.596 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.1182, allocations: 4 kB / 0.596 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1934/0.3115, allocations: 6.598 MB / 0.6024 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3116, allocations: 6.719 kB / 0.6024 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.313, allocations: 0.9935 MB / 0.6034 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.3132, allocations: 108 kB / 0.6035 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.3133, allocations: 11.94 kB / 0.6035 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.3136, allocations: 30.27 kB / 0.6035 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3137, allocations: 40.66 kB / 0.6036 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.3138, allocations: 17.38 kB / 0.6036 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002968/0.3141, allocations: 343.5 kB / 0.6039 GB, free: 97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3141, allocations: 0 / 0.6039 GB, free: 97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007454/0.3148, allocations: 227.5 kB / 0.6041 GB, free: 97 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.0001274/0.3149, allocations: 109.5 kB / 0.6042 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.3165, allocations: 1.24 MB / 0.6054 GB, free: 96.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3165, allocations: 0 / 0.6054 GB, free: 96.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000935/0.3174, allocations: 0.8623 MB / 0.6063 GB, free: 95.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/0.3183, allocations: 197.7 kB / 0.6065 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3199, allocations: 1.36 MB / 0.6078 GB, free: 95.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3203, allocations: 412.3 kB / 0.6082 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003219/0.3206, allocations: 117.5 kB / 0.6083 GB, free: 95.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3207, allocations: 44.77 kB / 0.6083 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.3207, allocations: 0 / 0.6083 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.01934/0.34, allocations: 11.35 MB / 0.6194 GB, free: 94.16 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1315473050344735]