Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001698/0.001698, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001947/0.001947, allocations: 221.7 kB / 23.01 MB, free: 5.043 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.007/1.007, allocations: 150 MB / 463.1 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 70.55 kB / 0.6418 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2084, allocations: 89.17 MB / 0.7288 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.4228/0.6312, allocations: 34.78 MB / 0.7628 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.655, allocations: 15.3 MB / 0.7777 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006501/0.6615, allocations: 215.6 kB / 0.7779 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.6729, allocations: 3.821 MB / 0.7817 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/0.6871, allocations: 3.017 MB / 0.7846 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008787/0.6959, allocations: 2.385 MB / 0.787 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01598/0.7119, allocations: 8.82 MB / 0.7956 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.722, allocations: 5.552 MB / 0.801 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.7321, allocations: 4.226 MB / 0.8051 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00953/0.7417, allocations: 4.216 MB / 0.8092 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003778/0.7454, allocations: 0.7004 MB / 0.8099 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/0.7558, allocations: 1.737 MB / 0.8116 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.008576/0.7644, allocations: 2.856 MB / 0.8144 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01517/0.7795, allocations: 3.367 MB / 0.8177 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02162/0.8012, allocations: 11.13 MB / 0.8286 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.8012, allocations: 4 kB / 0.8286 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8012, allocations: 0 / 0.8286 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004799/0.8017, allocations: 0 / 0.8286 GB, free: 3.301 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02015/0.8218, allocations: 6.022 MB / 0.8344 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.8219, allocations: 8.031 kB / 0.8345 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007769/0.8296, allocations: 1.137 MB / 0.8356 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.8405, allocations: 3.452 MB / 0.8389 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.8409, allocations: 370.4 kB / 0.8393 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.8433, allocations: 0.4924 MB / 0.8398 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.8648, allocations: 7.965 MB / 0.8475 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.865, allocations: 23.83 kB / 0.8476 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007293/0.8657, allocations: 216 kB / 0.8478 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001096/0.8668, allocations: 435.4 kB / 0.8482 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.881, allocations: 6.065 MB / 0.8541 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05533/0.9363, allocations: 34.52 MB / 0.8878 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.9399, allocations: 1.904 MB / 0.8897 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.9426, allocations: 1.72 MB / 0.8914 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.9427, allocations: 26 kB / 0.8914 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.9428, allocations: 44.56 kB / 0.8914 GB, free: 15.56 MB / 0.67 GB Notification: Performance of pre-optimization done (n=171): time 3.507e-06/0.9428, allocations: 0 / 0.8914 GB, free: 15.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=276): time 0.1484/1.091, allocations: 37.54 MB / 0.9281 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/1.091, allocations: 81.58 kB / 0.9282 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.095, allocations: 1.979 MB / 0.9301 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003725/1.095, allocations: 73.7 kB / 0.9302 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002165/1.097, allocations: 2.372 MB / 0.9325 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.099, allocations: 0.9876 MB / 0.9335 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009394/1.1, allocations: 0.5182 MB / 0.934 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.1, allocations: 301.1 kB / 0.9343 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/1.103, allocations: 1.837 MB / 0.936 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/1.106, allocations: 2.605 MB / 0.9386 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007784/1.114, allocations: 4.869 MB / 0.9433 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-05/1.114, allocations: 8 kB / 0.9434 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01596/1.13, allocations: 7.389 MB / 0.9506 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/1.13, allocations: 16 kB / 0.9506 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/1.13, allocations: 24 kB / 0.9506 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009262/1.139, allocations: 3.065 MB / 0.9536 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.141, allocations: 411.3 kB / 0.954 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04963/1.191, allocations: 32.5 MB / 0.9857 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/1.194, allocations: 151.9 kB / 0.9859 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/1.194, allocations: 120 kB / 0.986 GB, free: 13.16 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (207): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,65.0%), (10,28,71.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003747/1.198, allocations: 1.808 MB / 0.9878 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000781/1.199, allocations: 329.9 kB / 0.9881 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/1.214, allocations: 7.058 MB / 0.995 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/1.214, allocations: 28 kB / 0.995 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.247e-05/1.214, allocations: 28.25 kB / 0.995 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/1.214, allocations: 15.95 kB / 0.995 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02688/1.241, allocations: 12.43 MB / 1.007 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.241, allocations: 8 kB / 1.007 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.242, allocations: 227.5 kB / 1.007 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007782/1.249, allocations: 2.689 MB / 1.01 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003852/1.25, allocations: 52 kB / 1.01 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04587/1.296, allocations: 31.22 MB / 1.041 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.296, allocations: 12.31 kB / 1.041 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/1.309, allocations: 6.61 MB / 1.047 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/1.311, allocations: 0.6579 MB / 1.048 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/1.311, allocations: 63.98 kB / 1.048 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.313, allocations: 151.7 kB / 1.048 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007946/1.314, allocations: 265.4 kB / 1.048 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.314, allocations: 68 kB / 1.048 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001984/1.316, allocations: 1.302 MB / 1.049 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8e-08/1.316, allocations: 0 / 1.049 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004141/1.32, allocations: 1.281 MB / 1.051 GB, free: 9.688 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003652/1.32, allocations: 170.9 kB / 1.051 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.333, allocations: 6.424 MB / 1.057 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.333, allocations: 0 / 1.057 GB, free: 3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008662/1.341, allocations: 4.155 MB / 1.061 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/1.346, allocations: 1.021 MB / 1.062 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.364, allocations: 10.28 MB / 1.072 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4373/1.802, allocations: 3.64 MB / 1.076 GB, free: 266.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001969/1.804, allocations: 0.5203 MB / 1.076 GB, free: 266.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/1.804, allocations: 145.2 kB / 1.076 GB, free: 266.2 MB / 0.8419 GB Notification: Performance of SimCode: time 1.282e-06/1.804, allocations: 0 / 1.076 GB, free: 266.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.115/1.919, allocations: 72.82 MB / 1.148 GB, free: 235.7 MB / 0.8419 GB " [Timeout remaining time 658] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.526139278896153] Failed to read output from testmodel.py, exit status != 0: 1.9299443159252405 1.939918244 1.135978691 Calling exit ...