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.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.0007039/0.0007039, allocations: 72.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.0008021/0.0008021, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8509/0.8509, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.001876/0.001876, allocations: 221.4 kB / 260.2 MB, free: 13.02 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.6354/0.6354, allocations: 138.4 MB / 455.1 MB, free: 1.629 MB / 362.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_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 1.423e-06/1.423e-06, allocations: 0 / 0.6475 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.107e-05, allocations: 2.281 kB / 0.6475 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004505/0.004526, allocations: 5.879 MB / 0.6533 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.006974, allocations: 3.115 MB / 0.6563 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.007147, allocations: 41.72 kB / 0.6564 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.008176, allocations: 0.9432 MB / 0.6573 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.008633, allocations: 0.5029 MB / 0.6578 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.009068, allocations: 0.5031 MB / 0.6583 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006186/0.009687, allocations: 1.133 MB / 0.6594 GB, free: 19.83 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.01014, allocations: 0.5083 MB / 0.6599 GB, free: 19.5 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.01058, allocations: 0.6064 MB / 0.6605 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.01092, allocations: 423.8 kB / 0.6609 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.01098, allocations: 58.47 kB / 0.6609 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.01135, allocations: 450.9 kB / 0.6613 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.01152, allocations: 312.5 kB / 0.6616 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.01171, allocations: 272.7 kB / 0.6619 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.01234, allocations: 1.215 MB / 0.6631 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.01235, allocations: 3.938 kB / 0.6631 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.82e-07/0.01235, allocations: 0 / 0.6631 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.01235, allocations: 0 / 0.6631 GB, free: 17.2 MB / 0.5105 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.0007303/0.01308, allocations: 0.9948 MB / 0.6641 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.01311, allocations: 8.75 kB / 0.6641 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007049/0.01382, allocations: 232.1 kB / 0.6643 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.01428, allocations: 0.5236 MB / 0.6648 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.0143, allocations: 53.61 kB / 0.6649 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.01436, allocations: 64.31 kB / 0.6649 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.01505, allocations: 1.138 MB / 0.666 GB, free: 14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.01507, allocations: 8.125 kB / 0.666 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.0151, allocations: 32.36 kB / 0.6661 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.01515, allocations: 73.2 kB / 0.6661 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.0157, allocations: 0.6879 MB / 0.6668 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.01759, allocations: 4.397 MB / 0.6711 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.01799, allocations: 406.3 kB / 0.6715 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.01838, allocations: 384.6 kB / 0.6719 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.01841, allocations: 4 kB / 0.6719 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.122e-05/0.01842, allocations: 38.56 kB / 0.6719 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.01842, allocations: 0 / 0.6719 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.001981/0.0204, allocations: 1.73 MB / 0.6736 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.02042, allocations: 59.34 kB / 0.6736 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.02063, allocations: 445.7 kB / 0.6741 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.02065, allocations: 41.64 kB / 0.6741 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.02074, allocations: 400 kB / 0.6745 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.02078, allocations: 154.7 kB / 0.6746 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.02087, allocations: 110.2 kB / 0.6747 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.02091, allocations: 358.8 kB / 0.6751 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.0211, allocations: 245.2 kB / 0.6753 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.02134, allocations: 457 kB / 0.6758 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.02181, allocations: 0.7558 MB / 0.6765 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02181, allocations: 0 / 0.6765 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008793/0.02269, allocations: 1.043 MB / 0.6775 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.02271, allocations: 11.98 kB / 0.6775 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.02271, allocations: 4 kB / 0.6775 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/0.0232, allocations: 323.5 kB / 0.6778 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.02334, allocations: 95.77 kB / 0.6779 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.02732, allocations: 6.975 MB / 0.6847 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.02749, allocations: 32.02 kB / 0.6848 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.02752, allocations: 28 kB / 0.6848 GB, free: 9.895 MB / 0.5261 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.0001911/0.02771, allocations: 246.2 kB / 0.685 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.02776, allocations: 59.67 kB / 0.6851 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.02879, allocations: 0.8883 MB / 0.686 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.02879, allocations: 11.94 kB / 0.686 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.02879, allocations: 4 kB / 0.686 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.0288, allocations: 3.938 kB / 0.686 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.03025, allocations: 1.519 MB / 0.6875 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.03025, allocations: 0 / 0.6875 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.03034, allocations: 39.97 kB / 0.6875 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.0308, allocations: 311.3 kB / 0.6878 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.03082, allocations: 12 kB / 0.6878 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/0.03468, allocations: 6.966 MB / 0.6946 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.03469, allocations: 7.938 kB / 0.6946 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.03559, allocations: 0.9841 MB / 0.6956 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.0357, allocations: 99.52 kB / 0.6957 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.03574, allocations: 15.92 kB / 0.6957 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.03587, allocations: 23.98 kB / 0.6957 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.03596, allocations: 35.92 kB / 0.6957 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.03598, allocations: 16 kB / 0.6958 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001832/0.03616, allocations: 290.9 kB / 0.696 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.03616, allocations: 0 / 0.696 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004207/0.03658, allocations: 192 kB / 0.6962 GB, free: 13.63 MB / 0.5417 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 9.302e-05/0.03668, allocations: 111.2 kB / 0.6963 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.03768, allocations: 1.171 MB / 0.6975 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.03769, allocations: 0 / 0.6975 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.03828, allocations: 0.8382 MB / 0.6983 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.03881, allocations: 193 kB / 0.6985 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.04001, allocations: 1.303 MB / 0.6997 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.04027, allocations: 394.9 kB / 0.7001 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.04034, allocations: 44.42 kB / 0.7002 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.04034, allocations: 0 / 0.7002 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of Templates: time 0.01277/0.05311, allocations: 18.86 MB / 0.7186 GB, free: 6.59 MB / 0.5573 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.367624813690782] Failed to read output from testmodel.py, exit status != 0: 0.0578146381303668 0.06613189600000001 0.052099014000000006 Calling exit ...