Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.0008301/0.0008301, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008153/0.0008153, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8466/0.8466, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001434/0.001434, allocations: 222.3 kB / 260.2 MB, free: 13.04 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 0.6648/0.6648, allocations: 138.4 MB / 455.1 MB, free: 30.01 MB / 410.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.162e-05, allocations: 9.312 kB / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.2218/0.2218, allocations: 6.45 MB / 0.6538 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.2245, allocations: 3.018 MB / 0.6568 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.2247, allocations: 40.25 kB / 0.6568 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.2258, allocations: 0.955 MB / 0.6577 GB, free: 51.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.2263, allocations: 0.5309 MB / 0.6583 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.2269, allocations: 453.2 kB / 0.6587 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007205/0.2276, allocations: 1.271 MB / 0.6599 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.2281, allocations: 0.5318 MB / 0.6605 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/0.2286, allocations: 0.6659 MB / 0.6611 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.229, allocations: 476 kB / 0.6616 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.2291, allocations: 69.83 kB / 0.6616 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.2294, allocations: 348.8 kB / 0.662 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.2296, allocations: 326.8 kB / 0.6623 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.2298, allocations: 315.9 kB / 0.6626 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.2307, allocations: 1.248 MB / 0.6638 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2307, allocations: 0.75 kB / 0.6638 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2307, allocations: 0.9062 kB / 0.6638 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.2307, allocations: 0 / 0.6638 GB, free: 49.2 MB / 0.5573 GB 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.001061/0.2317, allocations: 1.111 MB / 0.6649 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2318, allocations: 10.25 kB / 0.6649 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007925/0.2326, allocations: 244.8 kB / 0.6651 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.2331, allocations: 0.544 MB / 0.6657 GB, free: 48.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.2331, allocations: 51.39 kB / 0.6657 GB, free: 48.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.2332, allocations: 67.45 kB / 0.6658 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.234, allocations: 1.331 MB / 0.6671 GB, free: 47.13 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.2341, allocations: 7.906 kB / 0.6671 GB, free: 47.12 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.2341, allocations: 29.64 kB / 0.6671 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.71e-05/0.2342, allocations: 89.3 kB / 0.6672 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.2349, allocations: 0.751 MB / 0.6679 GB, free: 46.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.2372, allocations: 4.527 MB / 0.6723 GB, free: 43.24 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.2378, allocations: 0.5098 MB / 0.6728 GB, free: 43.05 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.2381, allocations: 287.8 kB / 0.6731 GB, free: 42.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.2381, allocations: 11.05 kB / 0.6731 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.2381, allocations: 38.66 kB / 0.6732 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 1.643e-06/0.2381, allocations: 0 / 0.6732 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.002021/0.2401, allocations: 1.678 MB / 0.6748 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.2401, allocations: 55.44 kB / 0.6749 GB, free: 42.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.2405, allocations: 0.5167 MB / 0.6754 GB, free: 41.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2405, allocations: 41.39 kB / 0.6754 GB, free: 41.87 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2406, allocations: 425.8 kB / 0.6758 GB, free: 41.54 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.2407, allocations: 177.7 kB / 0.676 GB, free: 41.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2408, allocations: 130.2 kB / 0.6761 GB, free: 41.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.2408, allocations: 368.1 kB / 0.6764 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.2411, allocations: 276.8 kB / 0.6767 GB, free: 40.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.2414, allocations: 491.3 kB / 0.6772 GB, free: 40.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.242, allocations: 0.8124 MB / 0.678 GB, free: 40 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.242, allocations: 2 kB / 0.678 GB, free: 40 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001001/0.243, allocations: 1.067 MB / 0.679 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.243, allocations: 9.281 kB / 0.679 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.243, allocations: 7.125 kB / 0.679 GB, free: 39.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.2435, allocations: 285.5 kB / 0.6793 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.2437, allocations: 124.8 kB / 0.6794 GB, free: 39.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.247, allocations: 6.589 MB / 0.6859 GB, free: 33.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.2472, allocations: 39.47 kB / 0.6859 GB, free: 33.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.2472, allocations: 31.94 kB / 0.6859 GB, free: 33.87 MB / 0.5573 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.0001849/0.2474, allocations: 253 kB / 0.6862 GB, free: 33.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.2475, allocations: 70.22 kB / 0.6862 GB, free: 33.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009293/0.2484, allocations: 0.8858 MB / 0.6871 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2484, allocations: 4.969 kB / 0.6871 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2484, allocations: 3.688 kB / 0.6871 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2484, allocations: 4.594 kB / 0.6871 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.2499, allocations: 1.53 MB / 0.6886 GB, free: 32.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2499, allocations: 4.656 kB / 0.6886 GB, free: 32.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.25, allocations: 59.11 kB / 0.6887 GB, free: 32.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.2505, allocations: 271.4 kB / 0.6889 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.2505, allocations: 10.62 kB / 0.6889 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/0.2535, allocations: 6.58 MB / 0.6954 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2535, allocations: 8.094 kB / 0.6954 GB, free: 26.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/0.2544, allocations: 0.9709 MB / 0.6963 GB, free: 26.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.2545, allocations: 109.2 kB / 0.6964 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.2546, allocations: 14.33 kB / 0.6964 GB, free: 26.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2548, allocations: 26.56 kB / 0.6965 GB, free: 26.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.2548, allocations: 52.09 kB / 0.6965 GB, free: 26.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2549, allocations: 15.67 kB / 0.6965 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000231/0.2551, allocations: 343.2 kB / 0.6969 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-08/0.2551, allocations: 0 / 0.6969 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004922/0.2556, allocations: 225.1 kB / 0.6971 GB, free: 26.05 MB / 0.5573 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.000102/0.2557, allocations: 116 kB / 0.6972 GB, free: 25.95 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.2567, allocations: 1.232 MB / 0.6984 GB, free: 25.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2568, allocations: 1.375 kB / 0.6984 GB, free: 25.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.2573, allocations: 0.8613 MB / 0.6992 GB, free: 24.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.2579, allocations: 201.7 kB / 0.6994 GB, free: 24.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.2593, allocations: 1.405 MB / 0.7008 GB, free: 23.81 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2596, allocations: 414.5 kB / 0.7012 GB, free: 23.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.2597, allocations: 45.34 kB / 0.7012 GB, free: 23.68 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.2597, allocations: 3.938 kB / 0.7012 GB, free: 23.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.01327/0.273, allocations: 20.92 MB / 0.7217 GB, free: 13.61 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.60218152217567] Failed to read output from testmodel.py, exit status != 0: 0.27775741275399923 0.28298956200000003 0.050999668000000005 Calling exit ...