Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00138/0.00138, 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.001595/0.001595, allocations: 208.9 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.793 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.002771/0.002771, allocations: 275.9 kB / 312.7 MB, free: 2.707 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.41/1.41, allocations: 180.6 MB / 0.5369 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 178] 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [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.003003/0.003003, allocations: 99.55 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1621, allocations: 95.38 MB / 0.8331 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01802/0.1802, allocations: 13.93 MB / 0.8467 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.1956, allocations: 9.961 MB / 0.8565 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.1967, allocations: 79.25 kB / 0.8565 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004315/0.201, allocations: 1.687 MB / 0.8582 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.2059, allocations: 1.854 MB / 0.86 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.2077, allocations: 0.7544 MB / 0.8607 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.2113, allocations: 2.777 MB / 0.8635 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.2129, allocations: 1.188 MB / 0.8646 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.215, allocations: 1.629 MB / 0.8662 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.2167, allocations: 1.085 MB / 0.8673 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.2169, allocations: 160 kB / 0.8674 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.2183, allocations: 0.7291 MB / 0.8681 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000586/0.2189, allocations: 0.6113 MB / 0.8687 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008099/0.2197, allocations: 0.7853 MB / 0.8695 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002972/0.2227, allocations: 2.786 MB / 0.8722 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2227, allocations: 4 kB / 0.8722 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2227, allocations: 3.938 kB / 0.8722 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.2227, allocations: 0 / 0.8722 GB, free: 15.66 MB / 0.6231 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.003818/0.2265, allocations: 2.143 MB / 0.8743 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2265, allocations: 12.69 kB / 0.8743 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.2379, allocations: 2.125 MB / 0.8764 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.2411, allocations: 1.225 MB / 0.8776 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.2412, allocations: 86.69 kB / 0.8777 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.2415, allocations: 120.1 kB / 0.8778 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006212/0.2477, allocations: 3.073 MB / 0.8808 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/0.2477, allocations: 11.89 kB / 0.8808 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.2479, allocations: 55.97 kB / 0.8809 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006907/0.2486, allocations: 194.1 kB / 0.881 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007729/0.2563, allocations: 2.787 MB / 0.8838 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/0.2706, allocations: 8.143 MB / 0.8917 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006692/0.2773, allocations: 2.179 MB / 0.8938 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/0.2804, allocations: 1.206 MB / 0.895 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-05/0.2805, allocations: 9 kB / 0.895 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.2805, allocations: 43.56 kB / 0.8951 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.845e-06/0.2805, allocations: 0 / 0.8951 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of matching and sorting (n=153): time 0.06312/0.3437, allocations: 15.99 MB / 0.9107 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.3437, allocations: 68.72 kB / 0.9108 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.3455, allocations: 1.031 MB / 0.9118 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.3456, allocations: 53.7 kB / 0.9118 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006596/0.3463, allocations: 0.7557 MB / 0.9125 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006264/0.3469, allocations: 0.5422 MB / 0.9131 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006252/0.3476, allocations: 287.5 kB / 0.9134 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3477, allocations: 305.1 kB / 0.9136 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003885/0.3516, allocations: 1.51 MB / 0.9151 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/0.3559, allocations: 1.78 MB / 0.9169 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008411/0.3643, allocations: 3.365 MB / 0.9201 GB, free: 13.76 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.3643, allocations: 4 kB / 0.9201 GB, free: 13.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01516/0.3794, allocations: 5.195 MB / 0.9252 GB, free: 8.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.3795, allocations: 8 kB / 0.9252 GB, free: 8.512 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.3795, allocations: 8.875 kB / 0.9252 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007424/0.3869, allocations: 1.884 MB / 0.9271 GB, free: 6.598 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.3891, allocations: 411.3 kB / 0.9275 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03429/0.4233, allocations: 22.86 MB / 0.9498 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.4261, allocations: 311.4 kB / 0.9501 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/0.4264, allocations: 63.97 kB / 0.9502 GB, free: 14.15 MB / 0.7012 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001066/0.4274, allocations: 465.6 kB / 0.9506 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/0.4279, allocations: 167 kB / 0.9508 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01514/0.443, allocations: 5.24 MB / 0.9559 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.443, allocations: 16 kB / 0.9559 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.585e-05/0.4431, allocations: 20 kB / 0.9559 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.4431, allocations: 11.97 kB / 0.9559 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.4621, allocations: 6.813 MB / 0.9626 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.4621, allocations: 0 / 0.9626 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.4639, allocations: 351.4 kB / 0.9629 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006799/0.4707, allocations: 1.706 MB / 0.9646 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.4709, allocations: 47.89 kB / 0.9646 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3895/0.8605, allocations: 22 MB / 0.9861 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8605, allocations: 9.578 kB / 0.9861 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/0.8725, allocations: 4.808 MB / 0.9908 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.8737, allocations: 418.8 kB / 0.9912 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003791/0.8741, allocations: 24.69 kB / 0.9912 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/0.8764, allocations: 317 kB / 0.9915 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000563/0.877, allocations: 158.2 kB / 0.9917 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/0.8771, allocations: 50.88 kB / 0.9917 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001227/0.8784, allocations: 0.6895 MB / 0.9924 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8784, allocations: 6.438 kB / 0.9924 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002379/0.8808, allocations: 0.6517 MB / 0.9931 GB, free: 130.4 MB / 0.7169 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003278/0.8811, allocations: 146.7 kB / 0.9932 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01215/0.8932, allocations: 4.911 MB / 0.998 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.8932, allocations: 1.25 kB / 0.998 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/0.8998, allocations: 3.28 MB / 1.001 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.9022, allocations: 0.5086 MB / 1.002 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008743/0.911, allocations: 4.342 MB / 1.006 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.9121, allocations: 0.9815 MB / 1.007 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001276/0.9134, allocations: 373.8 kB / 1.007 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.9138, allocations: 98.19 kB / 1.007 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/0.9138, allocations: 0 / 1.007 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.05435/0.9681, allocations: 48.98 MB / 1.055 GB, free: 80.96 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.311346622183919] Failed to read output from testmodel.py, exit status != 0: 0.9756077192723751 0.985385401 0.76041614 Calling exit ...