Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.00128/0.00128, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001329/0.001329, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.38/1.38, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.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.002555/0.002555, allocations: 292.2 kB / 306.6 MB, free: 8.363 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.205/1.205, allocations: 180.9 MB / 0.53 GB, free: 14.45 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 103.7 kB / 0.7309 GB, free: 38.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.196, allocations: 94.19 MB / 0.8228 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009873/0.2059, allocations: 6.404 MB / 0.8291 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005746/0.2116, allocations: 3.301 MB / 0.8323 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005835/0.2122, allocations: 43.62 kB / 0.8324 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.215, allocations: 0.9727 MB / 0.8333 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.2165, allocations: 497.5 kB / 0.8338 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.2179, allocations: 0.5017 MB / 0.8343 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00165/0.2195, allocations: 1.104 MB / 0.8354 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000958/0.2205, allocations: 462.8 kB / 0.8358 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009072/0.2214, allocations: 454.3 kB / 0.8362 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008935/0.2223, allocations: 0.4981 MB / 0.8367 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.2225, allocations: 56 kB / 0.8368 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.2235, allocations: 498.9 kB / 0.8372 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.2239, allocations: 303.1 kB / 0.8375 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005734/0.2245, allocations: 397.9 kB / 0.8379 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.2263, allocations: 1.183 MB / 0.8391 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2263, allocations: 0 / 0.8391 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2263, allocations: 0 / 0.8391 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.331e-05/0.2263, allocations: 4 kB / 0.8391 GB, free: 1.141 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002096/0.2284, allocations: 1.006 MB / 0.8401 GB, free: 100 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2284, allocations: 12.62 kB / 0.8401 GB, free: 88 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.2301, allocations: 228.1 kB / 0.8403 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.2311, allocations: 0.5205 MB / 0.8408 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.2312, allocations: 49.61 kB / 0.8408 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.2313, allocations: 64.36 kB / 0.8409 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.233, allocations: 1.03 MB / 0.8419 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.233, allocations: 11.89 kB / 0.8419 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.2331, allocations: 35.92 kB / 0.842 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-05/0.2332, allocations: 69.27 kB / 0.842 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.2344, allocations: 0.6918 MB / 0.8427 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.2402, allocations: 5.654 MB / 0.8482 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008192/0.241, allocations: 414.3 kB / 0.8486 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008128/0.2418, allocations: 380.6 kB / 0.849 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.2418, allocations: 8 kB / 0.849 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.2419, allocations: 38.56 kB / 0.849 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/0.2419, allocations: 0 / 0.849 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.004289/0.2461, allocations: 1.714 MB / 0.8507 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2462, allocations: 55.41 kB / 0.8507 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.2468, allocations: 462.8 kB / 0.8512 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.2468, allocations: 37.7 kB / 0.8512 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.2471, allocations: 400.1 kB / 0.8516 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.2473, allocations: 158.7 kB / 0.8518 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.2474, allocations: 110.2 kB / 0.8519 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.2476, allocations: 362.8 kB / 0.8522 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.248, allocations: 245.1 kB / 0.8524 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.2486, allocations: 453 kB / 0.8529 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2496, allocations: 0.7565 MB / 0.8536 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2496, allocations: 4 kB / 0.8536 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001955/0.2516, allocations: 1.031 MB / 0.8546 GB, free: 332 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2516, allocations: 8 kB / 0.8546 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2516, allocations: 8 kB / 0.8546 GB, free: 316 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.2526, allocations: 319.7 kB / 0.8549 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.253, allocations: 95.77 kB / 0.855 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008094/0.2611, allocations: 7.065 MB / 0.8619 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.2615, allocations: 32.02 kB / 0.862 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.2615, allocations: 28 kB / 0.862 GB, free: 8.297 MB / 0.6075 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.2619, allocations: 243.2 kB / 0.8622 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.262, allocations: 67.52 kB / 0.8623 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.2638, allocations: 0.8921 MB / 0.8632 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2638, allocations: 4 kB / 0.8632 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2638, allocations: 4 kB / 0.8632 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2638, allocations: 4 kB / 0.8632 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.2667, allocations: 1.645 MB / 0.8648 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.2667, allocations: 4 kB / 0.8648 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.2669, allocations: 39.91 kB / 0.8648 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009364/0.2678, allocations: 311.3 kB / 0.8651 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.2678, allocations: 12 kB / 0.8651 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/0.2754, allocations: 7.062 MB / 0.872 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.2754, allocations: 3.938 kB / 0.872 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.2771, allocations: 0.9797 MB / 0.873 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.2774, allocations: 95.86 kB / 0.8731 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.2775, allocations: 11.95 kB / 0.8731 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.2778, allocations: 27.97 kB / 0.8731 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2779, allocations: 47.73 kB / 0.8732 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.2779, allocations: 12 kB / 0.8732 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000393/0.2783, allocations: 314.9 kB / 0.8735 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2783, allocations: 4 kB / 0.8735 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007682/0.2791, allocations: 192 kB / 0.8737 GB, free: 11.73 MB / 0.6231 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001511/0.2792, allocations: 112.3 kB / 0.8738 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.2812, allocations: 1.16 MB / 0.8749 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.2812, allocations: 0 / 0.8749 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.2824, allocations: 0.823 MB / 0.8757 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.2834, allocations: 212.8 kB / 0.8759 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.2858, allocations: 1.259 MB / 0.8771 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007697/0.2866, allocations: 0.992 MB / 0.8781 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002733/0.2869, allocations: 97.28 kB / 0.8782 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.2869, allocations: 39.44 kB / 0.8782 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of SimCode: time 9.21e-07/0.2869, allocations: 0 / 0.8782 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of Templates: time 0.01916/0.3061, allocations: 10.47 MB / 0.8885 GB, free: 12.51 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2772865779697895] Failed to read output from testmodel.py, exit status != 0: 0.3151586325839162 0.331978389 0.10256424300000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f24e05f97b0>