Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 108.7 kB / 17.12 MB, free: 6.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 196.2 kB / 20.08 MB, free: 3.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 282.2 kB / 303.6 MB, free: 3.73 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 180.9 MB / 0.5268 GB, free: 2.637 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 107.8 kB / 0.7259 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4919, allocations: 94.15 MB / 0.8179 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04533/0.5372, allocations: 35.45 MB / 0.8525 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02964/0.5669, allocations: 11.63 MB / 0.8639 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004746/0.5716, allocations: 206.3 kB / 0.8641 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.5835, allocations: 4.326 MB / 0.8683 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007171/0.5906, allocations: 2.096 MB / 0.8703 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007877/0.5985, allocations: 2.406 MB / 0.8727 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01268/0.6112, allocations: 8.468 MB / 0.8809 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.6261, allocations: 8.403 MB / 0.8892 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008078/0.6342, allocations: 3.849 MB / 0.8929 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008185/0.6424, allocations: 4.416 MB / 0.8972 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002578/0.645, allocations: 0.7773 MB / 0.898 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005891/0.6509, allocations: 2.071 MB / 0.9 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005404/0.6563, allocations: 3.137 MB / 0.9031 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.007765/0.664, allocations: 3.396 MB / 0.9064 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01931/0.6833, allocations: 12.02 MB / 0.9181 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.6833, allocations: 0 / 0.9181 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6834, allocations: 4 kB / 0.9181 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003827/0.6837, allocations: 0 / 0.9181 GB, free: 10.15 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01843/0.7022, allocations: 5.942 MB / 0.9239 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.7022, allocations: 8.031 kB / 0.9239 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007301/0.7095, allocations: 1.086 MB / 0.925 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008547/0.7181, allocations: 3.467 MB / 0.9284 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000519/0.7186, allocations: 415.5 kB / 0.9288 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/0.7211, allocations: 0.5354 MB / 0.9293 GB, free: 14.57 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/0.7479, allocations: 9.083 MB / 0.9382 GB, free: 5.16 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003857/0.7483, allocations: 39.77 kB / 0.9382 GB, free: 5.121 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002319/0.7506, allocations: 235.9 kB / 0.9384 GB, free: 4.891 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005597/0.7512, allocations: 350.8 kB / 0.9388 GB, free: 4.547 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/0.7684, allocations: 6.826 MB / 0.9454 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05846/0.8268, allocations: 39.85 MB / 0.9844 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/0.831, allocations: 2.909 MB / 0.9872 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.8338, allocations: 1.786 MB / 0.9889 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.8339, allocations: 18 kB / 0.989 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.8339, allocations: 52.56 kB / 0.989 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.757e-06/0.8339, allocations: 0 / 0.989 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02643/0.8604, allocations: 9.998 MB / 0.9988 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.8604, allocations: 69.41 kB / 0.9988 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.8628, allocations: 1.53 MB / 1 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.863, allocations: 53.7 kB / 1 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.8648, allocations: 2.328 MB / 1.003 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007178/0.8655, allocations: 0.6584 MB / 1.003 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000652/0.8662, allocations: 412.1 kB / 1.004 GB, free: 14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8663, allocations: 313 kB / 1.004 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.8681, allocations: 1.176 MB / 1.005 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.8705, allocations: 1.889 MB / 1.007 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004607/0.8751, allocations: 3.367 MB / 1.01 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.8751, allocations: 8 kB / 1.01 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00841/0.8835, allocations: 4.531 MB / 1.015 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.8836, allocations: 16.22 kB / 1.015 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/0.8836, allocations: 24 kB / 1.015 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003977/0.8876, allocations: 1.584 MB / 1.016 GB, free: 444 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.8889, allocations: 355.3 kB / 1.017 GB, free: 88 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02589/0.9148, allocations: 18.59 MB / 1.035 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.9168, allocations: 119.9 kB / 1.035 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.917, allocations: 96 kB / 1.035 GB, free: 12.72 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003534/0.9206, allocations: 1.898 MB / 1.037 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005697/0.9211, allocations: 234.5 kB / 1.037 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007735/0.9289, allocations: 4.04 MB / 1.041 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.9289, allocations: 16 kB / 1.041 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.675e-05/0.9289, allocations: 20 kB / 1.041 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.9289, allocations: 11.95 kB / 1.041 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/0.9464, allocations: 9.418 MB / 1.05 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.9464, allocations: 4 kB / 1.05 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/0.9472, allocations: 187.7 kB / 1.05 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/0.951, allocations: 1.347 MB / 1.052 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/0.9512, allocations: 36.25 kB / 1.052 GB, free: 11.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/0.9754, allocations: 17.39 MB / 1.069 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.9755, allocations: 8.062 kB / 1.069 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007634/0.9831, allocations: 4.04 MB / 1.073 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.9844, allocations: 0.5385 MB / 1.073 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.9847, allocations: 36 kB / 1.073 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000945/0.9856, allocations: 87.89 kB / 1.073 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005683/0.9862, allocations: 161.7 kB / 1.074 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.9863, allocations: 44 kB / 1.074 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001622/0.9879, allocations: 1.005 MB / 1.075 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.9879, allocations: 3.938 kB / 1.075 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003563/0.9915, allocations: 0.9922 MB / 1.076 GB, free: 2.234 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003161/0.9918, allocations: 143.1 kB / 1.076 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007601/0.9994, allocations: 4.171 MB / 1.08 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.9994, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004747/1.004, allocations: 2.572 MB / 1.082 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/1.008, allocations: 0.7857 MB / 1.083 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.027, allocations: 9.508 MB / 1.092 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005659/1.033, allocations: 3.67 MB / 1.096 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006179/1.033, allocations: 123.4 kB / 1.096 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of SimCode: time 2.064e-06/1.033, allocations: 0 / 1.096 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of Templates: time 0.6196/1.653, allocations: 159.8 MB / 1.252 GB, free: 196.2 MB / 0.8731 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.268694925005548] Failed to read output from testmodel.py, exit status != 0: 1.6621383359888569 1.670105317 0.984328842 Calling exit ...