Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001841/0.001841, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00229/0.00229, allocations: 209.5 kB / 22.24 MB, free: 5.262 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.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.002615/0.002615, allocations: 292.3 kB / 312.7 MB, free: 2.57 MB / 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.274/1.274, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002968/0.002968, allocations: 109.3 kB / 0.74 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1563, allocations: 95.38 MB / 0.8331 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01817/0.1745, allocations: 13.29 MB / 0.8461 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.1896, allocations: 9.148 MB / 0.855 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1906, allocations: 79.31 kB / 0.8551 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00455/0.1952, allocations: 1.664 MB / 0.8567 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.1996, allocations: 1.589 MB / 0.8583 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.2017, allocations: 0.7592 MB / 0.859 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003367/0.2051, allocations: 2.528 MB / 0.8615 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.2067, allocations: 1.18 MB / 0.8627 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.2082, allocations: 1.121 MB / 0.8638 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.2099, allocations: 1.105 MB / 0.8648 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.2101, allocations: 164 kB / 0.865 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.2115, allocations: 0.733 MB / 0.8657 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006554/0.2122, allocations: 0.6309 MB / 0.8663 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008608/0.213, allocations: 0.766 MB / 0.8671 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.2162, allocations: 2.779 MB / 0.8698 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2162, allocations: 0 / 0.8698 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.828e-06/0.2162, allocations: 3.984 kB / 0.8698 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.775e-05/0.2162, allocations: 0 / 0.8698 GB, free: 2.102 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004055/0.2203, allocations: 2.12 MB / 0.8719 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2203, allocations: 9.344 kB / 0.8719 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.2323, allocations: 2.094 MB / 0.8739 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.2356, allocations: 1.22 MB / 0.8751 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/0.2356, allocations: 86.73 kB / 0.8752 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.2359, allocations: 120.1 kB / 0.8753 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006352/0.2423, allocations: 3.089 MB / 0.8783 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.2423, allocations: 7.938 kB / 0.8783 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.2425, allocations: 55.92 kB / 0.8784 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006781/0.2432, allocations: 178.1 kB / 0.8785 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007956/0.2511, allocations: 2.799 MB / 0.8813 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.2656, allocations: 8.13 MB / 0.8892 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007125/0.2727, allocations: 2.214 MB / 0.8914 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.276, allocations: 1.22 MB / 0.8926 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.2761, allocations: 9 kB / 0.8926 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.2761, allocations: 39.56 kB / 0.8926 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.936e-06/0.2761, allocations: 0 / 0.8926 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04933/0.3255, allocations: 12.65 MB / 0.905 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.3255, allocations: 64.72 kB / 0.905 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.3269, allocations: 0.9834 MB / 0.906 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.3271, allocations: 49.7 kB / 0.906 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/0.3277, allocations: 0.7355 MB / 0.9068 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.3282, allocations: 479.8 kB / 0.9072 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005318/0.3287, allocations: 255.5 kB / 0.9075 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.3289, allocations: 365.9 kB / 0.9078 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/0.3325, allocations: 1.343 MB / 0.9091 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003788/0.3363, allocations: 1.596 MB / 0.9107 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007443/0.3437, allocations: 3.002 MB / 0.9136 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3437, allocations: 0 / 0.9136 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01214/0.3559, allocations: 4.381 MB / 0.9179 GB, free: 15.95 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.3559, allocations: 14.28 kB / 0.9179 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.3559, allocations: 12 kB / 0.9179 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005384/0.3613, allocations: 1.427 MB / 0.9193 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.3634, allocations: 427.3 kB / 0.9197 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03036/0.3938, allocations: 24.82 MB / 0.944 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.3964, allocations: 299.5 kB / 0.9442 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.3965, allocations: 63.97 kB / 0.9443 GB, free: 3.539 MB / 0.6856 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008905/0.3974, allocations: 440.1 kB / 0.9447 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.3977, allocations: 151.1 kB / 0.9449 GB, free: 2.953 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.4102, allocations: 4.401 MB / 0.9492 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.4102, allocations: 15.94 kB / 0.9492 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.4102, allocations: 19.94 kB / 0.9492 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.4103, allocations: 11.95 kB / 0.9492 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.4263, allocations: 6.128 MB / 0.9552 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4263, allocations: 0 / 0.9552 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/0.4282, allocations: 379.3 kB / 0.9556 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005014/0.4332, allocations: 1.315 MB / 0.9568 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.4334, allocations: 47.95 kB / 0.9569 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02834/0.4617, allocations: 23.67 MB / 0.98 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4617, allocations: 4 kB / 0.98 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.4733, allocations: 4.147 MB / 0.9841 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.4745, allocations: 374.8 kB / 0.9844 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.4748, allocations: 24 kB / 0.9844 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/0.4769, allocations: 311.4 kB / 0.9847 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/0.4773, allocations: 132.7 kB / 0.9849 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.4774, allocations: 48.16 kB / 0.9849 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009339/0.4784, allocations: 0.6506 MB / 0.9855 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4784, allocations: 0 / 0.9855 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001885/0.4803, allocations: 0.5664 MB / 0.9861 GB, free: 7.082 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.4805, allocations: 143 kB / 0.9862 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0116/0.4921, allocations: 4.97 MB / 0.9911 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4921, allocations: 4.125 kB / 0.9911 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.3432/0.8353, allocations: 3.405 MB / 0.9944 GB, free: 146.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.8376, allocations: 0.5007 MB / 0.9949 GB, free: 146.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008163/0.8457, allocations: 4.054 MB / 0.9989 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.8468, allocations: 0.8891 MB / 0.9997 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001332/0.8481, allocations: 412.3 kB / 1 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.8485, allocations: 111.2 kB / 1 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/0.8485, allocations: 2.438 kB / 1 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05384/0.9023, allocations: 42.38 MB / 1.042 GB, free: 121.4 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.08769434504211] Failed to read output from testmodel.py, exit status != 0: 0.9093897268176079 0.918816231 0.700382457 Calling exit ...