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.001305/0.001305, allocations: 110.2 kB / 19.58 MB, free: 2.34 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.001482/0.001482, allocations: 220 kB / 22.87 MB, free: 5.621 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.422/1.422, allocations: 230.5 MB / 256.5 MB, free: 8.051 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.002551/0.002551, allocations: 288.6 kB / 313.2 MB, free: 2.828 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.219/1.219, allocations: 180.8 MB / 0.5376 GB, free: 12.95 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.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.00293/0.00293, allocations: 101.7 kB / 0.7406 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1576, allocations: 95.39 MB / 0.8337 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01747/0.1751, allocations: 14.45 MB / 0.8478 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.1898, allocations: 9.739 MB / 0.8573 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009755/0.1908, allocations: 75.31 kB / 0.8574 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.1951, allocations: 1.746 MB / 0.8591 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/0.1989, allocations: 1.599 MB / 0.8607 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.2007, allocations: 0.7554 MB / 0.8614 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003133/0.2039, allocations: 2.532 MB / 0.8639 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.2054, allocations: 1.192 MB / 0.865 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.2068, allocations: 1.086 MB / 0.8661 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.2085, allocations: 1.21 MB / 0.8673 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.2087, allocations: 164 kB / 0.8674 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.2099, allocations: 0.737 MB / 0.8682 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000609/0.2105, allocations: 0.6269 MB / 0.8688 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009314/0.2115, allocations: 0.9485 MB / 0.8697 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.2144, allocations: 2.786 MB / 0.8724 GB, free: 144 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2144, allocations: 0 / 0.8724 GB, free: 144 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2144, allocations: 0 / 0.8724 GB, free: 144 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.2144, allocations: 0 / 0.8724 GB, free: 144 kB / 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.003925/0.2183, allocations: 2.12 MB / 0.8745 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2184, allocations: 9.344 kB / 0.8745 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.2303, allocations: 2.09 MB / 0.8765 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.2332, allocations: 1.22 MB / 0.8777 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.2333, allocations: 90.73 kB / 0.8778 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.2335, allocations: 120.1 kB / 0.8779 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/0.2398, allocations: 3.089 MB / 0.881 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.2398, allocations: 7.938 kB / 0.881 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.24, allocations: 51.98 kB / 0.881 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006851/0.2407, allocations: 178.1 kB / 0.8812 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008055/0.2487, allocations: 2.799 MB / 0.8839 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.2648, allocations: 10.36 MB / 0.894 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00721/0.272, allocations: 2.214 MB / 0.8962 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/0.2753, allocations: 1.219 MB / 0.8974 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.277e-05/0.2754, allocations: 12.98 kB / 0.8974 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.2754, allocations: 47.5 kB / 0.8974 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.435e-06/0.2754, allocations: 0 / 0.8974 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04908/0.3245, allocations: 12.66 MB / 0.9098 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3245, allocations: 80.64 kB / 0.9099 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.3262, allocations: 1.113 MB / 0.911 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.3263, allocations: 45.7 kB / 0.911 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006076/0.3269, allocations: 0.7287 MB / 0.9117 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/0.3274, allocations: 471.9 kB / 0.9122 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005777/0.328, allocations: 267.5 kB / 0.9124 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3282, allocations: 361.9 kB / 0.9128 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003932/0.3321, allocations: 1.339 MB / 0.9141 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/0.3361, allocations: 1.604 MB / 0.9156 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007719/0.3438, allocations: 2.991 MB / 0.9186 GB, free: 15.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.3438, allocations: 4 kB / 0.9186 GB, free: 15.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01295/0.3568, allocations: 4.404 MB / 0.9229 GB, free: 11.18 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.3568, allocations: 14.33 kB / 0.9229 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.3568, allocations: 8 kB / 0.9229 GB, free: 11.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005853/0.3627, allocations: 1.427 MB / 0.9243 GB, free: 9.699 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.365, allocations: 435.2 kB / 0.9247 GB, free: 9.273 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03091/0.3959, allocations: 25.37 MB / 0.9495 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/0.3987, allocations: 299.5 kB / 0.9498 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003001/0.399, allocations: 67.89 kB / 0.9498 GB, free: 14.04 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 (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.001025/0.4, allocations: 430.4 kB / 0.9502 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/0.4005, allocations: 167 kB / 0.9504 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.4137, allocations: 4.414 MB / 0.9547 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.4137, allocations: 12 kB / 0.9547 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.104e-05/0.4137, allocations: 12.11 kB / 0.9547 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.4138, allocations: 19.91 kB / 0.9547 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.4314, allocations: 6.681 MB / 0.9613 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.4314, allocations: 192 / 0.9613 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.4334, allocations: 379.4 kB / 0.9616 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/0.4386, allocations: 1.31 MB / 0.9629 GB, free: 376 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.4388, allocations: 39.95 kB / 0.963 GB, free: 336 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02825/0.4671, allocations: 24.17 MB / 0.9866 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4671, allocations: 7.938 kB / 0.9866 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.4789, allocations: 4.164 MB / 0.9906 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.4801, allocations: 382.8 kB / 0.991 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.4805, allocations: 39.92 kB / 0.991 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/0.4828, allocations: 303.5 kB / 0.9913 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004899/0.4833, allocations: 140.6 kB / 0.9915 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.4834, allocations: 47.97 kB / 0.9915 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001159/0.4846, allocations: 0.7487 MB / 0.9922 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.4846, allocations: 0 / 0.9922 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002228/0.4868, allocations: 0.5703 MB / 0.9928 GB, free: 184 kB / 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.0003205/0.4871, allocations: 143 kB / 0.9929 GB, free: 32 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3349/0.822, allocations: 4.968 MB / 0.9978 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.822, allocations: 0.9375 kB / 0.9978 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006523/0.8286, allocations: 3.419 MB / 1.001 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.8309, allocations: 0.553 MB / 1.002 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007864/0.8387, allocations: 4.067 MB / 1.006 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.84, allocations: 0.8873 MB / 1.006 GB, free: 145.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001567/0.8415, allocations: 424.7 kB / 1.007 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.842, allocations: 114.8 kB / 1.007 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/0.842, allocations: 0 / 1.007 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.05185/0.8938, allocations: 40.81 MB / 1.047 GB, free: 117.8 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.788126764004119] Failed to read output from testmodel.py, exit status != 0: 0.9009977189998608 0.910877393 0.694224297 Calling exit ...