Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001313/0.001313, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001703/0.001703, allocations: 158.2 kB / 23.01 MB, free: 4.961 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.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.002382/0.002382, allocations: 241.4 kB / 260 MB, free: 448 kB / 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 0.9213/0.9213, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [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.003113/0.003113, allocations: 111.8 kB / 0.6474 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4491, allocations: 95.33 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03791/0.4871, allocations: 36.43 MB / 0.776 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.5074, allocations: 11.11 MB / 0.7869 GB, free: 332 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.5109, allocations: 205 kB / 0.7871 GB, free: 236 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.5224, allocations: 4.384 MB / 0.7914 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006543/0.529, allocations: 2.328 MB / 0.7936 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005465/0.5344, allocations: 2.175 MB / 0.7958 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01299/0.5474, allocations: 9.272 MB / 0.8048 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.5583, allocations: 6.339 MB / 0.811 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006734/0.565, allocations: 4.129 MB / 0.815 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007525/0.5726, allocations: 4.458 MB / 0.8194 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.574, allocations: 0.8242 MB / 0.8202 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.5772, allocations: 1.498 MB / 0.8217 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003391/0.5806, allocations: 3.231 MB / 0.8248 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004047/0.5847, allocations: 2.981 MB / 0.8277 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.5976, allocations: 12.41 MB / 0.8399 GB, free: 12.76 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5976, allocations: 0 / 0.8399 GB, free: 12.76 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5976, allocations: 3.938 kB / 0.8399 GB, free: 12.76 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002373/0.5979, allocations: 0 / 0.8399 GB, free: 12.76 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01311/0.611, allocations: 6.387 MB / 0.8461 GB, free: 6.309 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.611, allocations: 12.75 kB / 0.8461 GB, free: 6.297 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.6162, allocations: 1.113 MB / 0.8472 GB, free: 5.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007885/0.6241, allocations: 3.576 MB / 0.8507 GB, free: 1.539 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003471/0.6244, allocations: 423.7 kB / 0.8511 GB, free: 1.125 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009766/0.6254, allocations: 0.5394 MB / 0.8516 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.6418, allocations: 10.29 MB / 0.8617 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.6419, allocations: 23.77 kB / 0.8617 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005734/0.6425, allocations: 248 kB / 0.8619 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006194/0.6431, allocations: 422.9 kB / 0.8623 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.6551, allocations: 7.116 MB / 0.8693 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03425/0.6893, allocations: 25.35 MB / 0.894 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/0.6938, allocations: 2.895 MB / 0.8969 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002833/0.6966, allocations: 1.938 MB / 0.8988 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.6967, allocations: 25.94 kB / 0.8988 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/0.6968, allocations: 64.55 kB / 0.8988 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 4.859e-06/0.6968, allocations: 0 / 0.8988 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02461/0.7214, allocations: 10.25 MB / 0.9088 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.7215, allocations: 77.34 kB / 0.9089 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.7241, allocations: 1.837 MB / 0.9107 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.7243, allocations: 61.7 kB / 0.9108 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.7262, allocations: 2.485 MB / 0.9132 GB, free: 240 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007422/0.7269, allocations: 0.7593 MB / 0.9139 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007934/0.7277, allocations: 485.4 kB / 0.9144 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7279, allocations: 301.1 kB / 0.9147 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.73, allocations: 1.372 MB / 0.916 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.7329, allocations: 2.104 MB / 0.9181 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005857/0.7387, allocations: 3.77 MB / 0.9218 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.7387, allocations: 4 kB / 0.9218 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008912/0.7476, allocations: 5.011 MB / 0.9267 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.7477, allocations: 16 kB / 0.9267 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.7477, allocations: 20 kB / 0.9267 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003785/0.7515, allocations: 1.591 MB / 0.9283 GB, free: 144 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.7532, allocations: 451.2 kB / 0.9287 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/0.7788, allocations: 17.8 MB / 0.9461 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.781, allocations: 147.9 kB / 0.9462 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.7812, allocations: 108 kB / 0.9463 GB, free: 13.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00335/0.7845, allocations: 1.945 MB / 0.9482 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005379/0.7851, allocations: 286.2 kB / 0.9485 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007575/0.7926, allocations: 4.389 MB / 0.9528 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.7927, allocations: 20 kB / 0.9528 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/0.7927, allocations: 16 kB / 0.9528 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.7927, allocations: 15.95 kB / 0.9528 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.8072, allocations: 8.338 MB / 0.961 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.8072, allocations: 4.562 kB / 0.961 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.8083, allocations: 243.6 kB / 0.9612 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/0.8117, allocations: 1.427 MB / 0.9626 GB, free: 12.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.8118, allocations: 43.94 kB / 0.9626 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02468/0.8365, allocations: 17.77 MB / 0.98 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.8365, allocations: 4 kB / 0.98 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007735/0.8442, allocations: 4.482 MB / 0.9844 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.8458, allocations: 0.5489 MB / 0.9849 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.8461, allocations: 51.88 kB / 0.985 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.8473, allocations: 111.9 kB / 0.9851 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/0.8478, allocations: 189.5 kB / 0.9852 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.8479, allocations: 60.25 kB / 0.9853 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00173/0.8497, allocations: 1.165 MB / 0.9864 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8497, allocations: 3.938 kB / 0.9864 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003138/0.8528, allocations: 1.141 MB / 0.9876 GB, free: 2.316 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002991/0.8531, allocations: 163 kB / 0.9877 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.3267/1.18, allocations: 4.535 MB / 0.9921 GB, free: 211.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.18, allocations: 4.75 kB / 0.9921 GB, free: 211.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004436/1.184, allocations: 2.801 MB / 0.9949 GB, free: 211 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/1.188, allocations: 0.8205 MB / 0.9957 GB, free: 210.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.203, allocations: 9.549 MB / 1.005 GB, free: 207.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004384/1.207, allocations: 3.162 MB / 1.008 GB, free: 206.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001904/1.209, allocations: 0.5323 MB / 1.009 GB, free: 206.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/1.21, allocations: 143.7 kB / 1.009 GB, free: 206.4 MB / 0.8106 GB Notification: Performance of SimCode: time 1.132e-06/1.21, allocations: 1.094 kB / 1.009 GB, free: 206.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.07189/1.282, allocations: 52.4 MB / 1.06 GB, free: 174 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.958597898017615] Failed to read output from testmodel.py, exit status != 0: 1.2897904029814526 1.298218791 0.698244656 Calling exit ...