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.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.001636/0.001636, allocations: 109.8 kB / 19.58 MB, free: 2.328 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.001511/0.001511, allocations: 187.5 kB / 22.85 MB, free: 5.648 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.313/1.313, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] 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.002424/0.002424, allocations: 293.8 kB / 307 MB, free: 8.355 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.119/1.119, allocations: 180.8 MB / 0.5304 GB, free: 14.66 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,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 0.002631/0.002631, allocations: 102.2 kB / 0.7311 GB, free: 38.74 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1386, allocations: 94.2 MB / 0.8231 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03644/0.175, allocations: 31.87 MB / 0.8542 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.1961, allocations: 13.91 MB / 0.8678 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.1982, allocations: 190.5 kB / 0.868 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007513/0.2057, allocations: 3.34 MB / 0.8712 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00602/0.2117, allocations: 2.783 MB / 0.8739 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004374/0.2161, allocations: 2.07 MB / 0.876 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008538/0.2246, allocations: 7.637 MB / 0.8834 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005542/0.2301, allocations: 4.251 MB / 0.8876 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004517/0.2347, allocations: 3.502 MB / 0.891 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004581/0.2392, allocations: 3.574 MB / 0.8945 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.24, allocations: 0.6016 MB / 0.8951 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.2424, allocations: 1.408 MB / 0.8964 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002243/0.2447, allocations: 2.431 MB / 0.8988 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002932/0.2476, allocations: 2.878 MB / 0.9016 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009597/0.2572, allocations: 9.488 MB / 0.9109 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2572, allocations: 0 / 0.9109 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2572, allocations: 0 / 0.9109 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001468/0.2573, allocations: 0 / 0.9109 GB, free: 7.715 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.008594/0.2659, allocations: 5.191 MB / 0.916 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.266, allocations: 8.625 kB / 0.916 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.271, allocations: 1.024 MB / 0.917 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005203/0.2762, allocations: 3.017 MB / 0.9199 GB, free: 14.31 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/0.2765, allocations: 316.8 kB / 0.9202 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006296/0.2771, allocations: 428 kB / 0.9206 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00979/0.2869, allocations: 6.784 MB / 0.9273 GB, free: 6.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.46e-05/0.287, allocations: 23.83 kB / 0.9273 GB, free: 6.477 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/0.2874, allocations: 184 kB / 0.9275 GB, free: 6.297 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007456/0.2881, allocations: 368 kB / 0.9278 GB, free: 5.934 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007572/0.2957, allocations: 5.118 MB / 0.9328 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03062/0.3263, allocations: 30.15 MB / 0.9623 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.3282, allocations: 1.317 MB / 0.9635 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.3299, allocations: 1.246 MB / 0.9648 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-05/0.3299, allocations: 17.3 kB / 0.9648 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.33, allocations: 55.81 kB / 0.9648 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 2.625e-06/0.33, allocations: 0 / 0.9648 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.07629/0.4063, allocations: 22.85 MB / 0.9871 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.4063, allocations: 73.41 kB / 0.9872 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.409, allocations: 2.07 MB / 0.9892 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.4091, allocations: 57.7 kB / 0.9893 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.4106, allocations: 2.059 MB / 0.9913 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005781/0.4111, allocations: 0.7088 MB / 0.992 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006962/0.4118, allocations: 416.4 kB / 0.9924 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.412, allocations: 305.1 kB / 0.9927 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.4141, allocations: 1.43 MB / 0.9941 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.4167, allocations: 2.021 MB / 0.996 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004932/0.4216, allocations: 3.696 MB / 0.9997 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.4216, allocations: 8 kB / 0.9997 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01024/0.4318, allocations: 5.592 MB / 1.005 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.4319, allocations: 13.88 kB / 1.005 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.4319, allocations: 16 kB / 1.005 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006224/0.4381, allocations: 2.08 MB / 1.007 GB, free: 1.109 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.4394, allocations: 371.4 kB / 1.008 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3452/0.7846, allocations: 36.62 MB / 1.043 GB, free: 141.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.7866, allocations: 123.7 kB / 1.043 GB, free: 141.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.7869, allocations: 94.17 kB / 1.044 GB, free: 141.7 MB / 0.7481 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.001945/0.7888, allocations: 1.515 MB / 1.045 GB, free: 141.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004867/0.7893, allocations: 297.7 kB / 1.045 GB, free: 141.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00797/0.7973, allocations: 5.141 MB / 1.05 GB, free: 138.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.7973, allocations: 19.72 kB / 1.05 GB, free: 138.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.7973, allocations: 19.09 kB / 1.05 GB, free: 138.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.7973, allocations: 7.312 kB / 1.05 GB, free: 138.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.8094, allocations: 9.581 MB / 1.06 GB, free: 134.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.8094, allocations: 7.781 kB / 1.06 GB, free: 134.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.8101, allocations: 214.2 kB / 1.06 GB, free: 134.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004457/0.8146, allocations: 1.842 MB / 1.062 GB, free: 133.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.8147, allocations: 36.88 kB / 1.062 GB, free: 133.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/0.838, allocations: 35.63 MB / 1.097 GB, free: 96.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.838, allocations: 11.94 kB / 1.097 GB, free: 96.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00669/0.8447, allocations: 4.858 MB / 1.101 GB, free: 91.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.8457, allocations: 0.5487 MB / 1.102 GB, free: 91.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/0.8461, allocations: 46.09 kB / 1.102 GB, free: 91.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.8473, allocations: 135.8 kB / 1.102 GB, free: 91.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/0.8476, allocations: 193.5 kB / 1.102 GB, free: 90.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.8478, allocations: 60 kB / 1.102 GB, free: 90.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001453/0.8492, allocations: 1.374 MB / 1.104 GB, free: 89.44 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8492, allocations: 0 / 1.104 GB, free: 89.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002547/0.8518, allocations: 1.051 MB / 1.105 GB, free: 88.39 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.0002069/0.852, allocations: 174.5 kB / 1.105 GB, free: 88.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006963/0.8589, allocations: 6.011 MB / 1.111 GB, free: 81.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.8589, allocations: 2.297 kB / 1.111 GB, free: 81.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004366/0.8633, allocations: 4.281 MB / 1.115 GB, free: 77.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.8661, allocations: 0.9996 MB / 1.116 GB, free: 76.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009823/0.876, allocations: 8.29 MB / 1.124 GB, free: 68.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.8784, allocations: 3.128 MB / 1.127 GB, free: 65.04 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001172/0.8796, allocations: 0.5159 MB / 1.127 GB, free: 64.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.8799, allocations: 151.4 kB / 1.128 GB, free: 64.37 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.8799, allocations: 0 / 1.128 GB, free: 64.37 MB / 0.7481 GB Notification: Performance of Templates: time 0.06934/0.9492, allocations: 60.92 MB / 1.187 GB, free: 4.43 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.880396156004281] Failed to read output from testmodel.py, exit status != 0: 0.9556658419969608 0.968235204 0.708197606 Calling exit ...