Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001298/0.001298, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001457/0.001457, allocations: 166 kB / 22.46 MB, free: 5.375 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.421/1.421, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 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.002534/0.002534, allocations: 241.2 kB / 259.4 MB, free: 448 kB / 238.1 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.072/1.072, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.1 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/1.986e-05, allocations: 6.281 kB / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.2587/0.2587, allocations: 28.7 MB / 0.6748 GB, free: 41.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.2754, allocations: 13.06 MB / 0.6876 GB, free: 32.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.2776, allocations: 190.4 kB / 0.6878 GB, free: 32.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007097/0.2847, allocations: 3.216 MB / 0.6909 GB, free: 31.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.2908, allocations: 2.838 MB / 0.6937 GB, free: 29.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004443/0.2952, allocations: 2.032 MB / 0.6957 GB, free: 28.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00836/0.3036, allocations: 7.806 MB / 0.7033 GB, free: 24.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005792/0.3094, allocations: 4.611 MB / 0.7078 GB, free: 22.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007073/0.3165, allocations: 4.776 MB / 0.7125 GB, free: 19.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.3207, allocations: 3.126 MB / 0.7155 GB, free: 18.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008384/0.3215, allocations: 0.6 MB / 0.7161 GB, free: 18.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.3241, allocations: 1.421 MB / 0.7175 GB, free: 17.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.3259, allocations: 2.53 MB / 0.72 GB, free: 16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002468/0.3284, allocations: 2.007 MB / 0.7219 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008684/0.3371, allocations: 9.636 MB / 0.7313 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3371, allocations: 0 / 0.7313 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3371, allocations: 0 / 0.7313 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000178/0.3372, allocations: 0 / 0.7313 GB, free: 8.008 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009089/0.3463, allocations: 5.141 MB / 0.7364 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3464, allocations: 10.5 kB / 0.7364 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005563/0.3519, allocations: 1.032 MB / 0.7374 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/0.3567, allocations: 3.021 MB / 0.7403 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.3568, allocations: 320.2 kB / 0.7406 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005373/0.3574, allocations: 420.3 kB / 0.741 GB, free: 360 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.3696, allocations: 7.517 MB / 0.7484 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.3697, allocations: 31.75 kB / 0.7484 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005036/0.3702, allocations: 180 kB / 0.7486 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009502/0.3712, allocations: 372 kB / 0.7489 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009045/0.3802, allocations: 5.106 MB / 0.7539 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.4089, allocations: 19.03 MB / 0.7725 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.411, allocations: 1.305 MB / 0.7738 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.4129, allocations: 1.251 MB / 0.775 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.254e-05/0.413, allocations: 17.31 kB / 0.775 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.413, allocations: 55.81 kB / 0.7751 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=130): time 3.667e-06/0.413, allocations: 0 / 0.7751 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=199): time 0.09871/0.5117, allocations: 22.82 MB / 0.7973 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.5118, allocations: 73.41 kB / 0.7974 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.5147, allocations: 1.849 MB / 0.7992 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/0.5149, allocations: 57.7 kB / 0.7993 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.5165, allocations: 2.069 MB / 0.8013 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007089/0.5172, allocations: 0.6932 MB / 0.802 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008259/0.518, allocations: 412.4 kB / 0.8024 GB, free: 400 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5182, allocations: 305.1 kB / 0.8027 GB, free: 92 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/0.5205, allocations: 1.43 MB / 0.8041 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00288/0.5234, allocations: 2.01 MB / 0.806 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005533/0.5289, allocations: 3.7 MB / 0.8096 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.5289, allocations: 4 kB / 0.8096 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01234/0.5413, allocations: 5.584 MB / 0.8151 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.5413, allocations: 12.62 kB / 0.8151 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/0.5414, allocations: 20 kB / 0.8151 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007477/0.5488, allocations: 2.075 MB / 0.8171 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.5504, allocations: 375.4 kB / 0.8175 GB, free: 280 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04511/0.5955, allocations: 35.86 MB / 0.8525 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.598, allocations: 127.9 kB / 0.8526 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/0.5984, allocations: 92 kB / 0.8527 GB, free: 10.36 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003073/0.6015, allocations: 1.509 MB / 0.8542 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006724/0.6022, allocations: 270.3 kB / 0.8545 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.6142, allocations: 5.13 MB / 0.8595 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.6142, allocations: 23.94 kB / 0.8595 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.299e-05/0.6142, allocations: 16 kB / 0.8595 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.6143, allocations: 11.95 kB / 0.8595 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.6332, allocations: 8.438 MB / 0.8678 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.6332, allocations: 8 kB / 0.8678 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009334/0.6341, allocations: 219.7 kB / 0.868 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006436/0.6405, allocations: 1.838 MB / 0.8698 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.6407, allocations: 44 kB / 0.8698 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04268/0.6834, allocations: 34.86 MB / 0.9039 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.6834, allocations: 11.94 kB / 0.9039 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.6939, allocations: 4.808 MB / 0.9086 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/0.6955, allocations: 0.5255 MB / 0.9091 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000663/0.6962, allocations: 48.11 kB / 0.9091 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.6981, allocations: 131.8 kB / 0.9092 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006752/0.6988, allocations: 201.4 kB / 0.9094 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/0.6989, allocations: 59.98 kB / 0.9095 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002219/0.7012, allocations: 1.204 MB / 0.9107 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.7012, allocations: 0 / 0.9107 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004114/0.7053, allocations: 1.047 MB / 0.9117 GB, free: 11.62 MB / 0.7481 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003855/0.7057, allocations: 166.9 kB / 0.9119 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01098/0.7166, allocations: 5.999 MB / 0.9177 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.7166, allocations: 4 kB / 0.9177 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007204/0.7238, allocations: 4.273 MB / 0.9219 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/0.7281, allocations: 0.9075 MB / 0.9228 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.7443, allocations: 8.23 MB / 0.9308 GB, free: 7.551 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004283/0.7486, allocations: 2.575 MB / 0.9333 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001749/0.7503, allocations: 0.4944 MB / 0.9338 GB, free: 4.441 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.7507, allocations: 136.5 kB / 0.9339 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of SimCode: time 1.032e-06/0.7507, allocations: 0 / 0.9339 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of Templates: time 0.3275/1.078, allocations: 60.28 MB / 0.9928 GB, free: 208.7 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.17531581223011] Failed to read output from testmodel.py, exit status != 0: 1.0864645726978779 1.095841918 0.7563662019999999 Calling exit ...