Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.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.002471/0.002471, allocations: 289.4 kB / 303.6 MB, free: 3.684 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.087/1.087, allocations: 180.9 MB / 0.5268 GB, free: 2.711 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 95.84 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6375, allocations: 94.15 MB / 0.8179 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04135/0.6789, allocations: 35.46 MB / 0.8525 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0225/0.7014, allocations: 11.62 MB / 0.8639 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003991/0.7054, allocations: 158.9 kB / 0.864 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01217/0.7175, allocations: 4.326 MB / 0.8682 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007233/0.7248, allocations: 2.092 MB / 0.8703 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008127/0.7329, allocations: 2.401 MB / 0.8726 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01279/0.7457, allocations: 8.462 MB / 0.8809 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01438/0.7601, allocations: 8.411 MB / 0.8891 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007556/0.7676, allocations: 3.806 MB / 0.8928 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008059/0.7757, allocations: 4.42 MB / 0.8971 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002447/0.7781, allocations: 0.7773 MB / 0.8979 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005703/0.7838, allocations: 2.063 MB / 0.8999 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005289/0.7891, allocations: 3.141 MB / 0.903 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.007054/0.7962, allocations: 3.4 MB / 0.9063 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.8135, allocations: 12.02 MB / 0.918 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.8135, allocations: 0 / 0.918 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8136, allocations: 0 / 0.918 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003357/0.8139, allocations: 0 / 0.918 GB, free: 10.27 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01489/0.8288, allocations: 5.942 MB / 0.9238 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.8288, allocations: 11.97 kB / 0.9238 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006283/0.8351, allocations: 1.09 MB / 0.9249 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008976/0.8441, allocations: 3.467 MB / 0.9283 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/0.8445, allocations: 415.5 kB / 0.9287 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/0.8465, allocations: 0.5315 MB / 0.9292 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02358/0.87, allocations: 9.083 MB / 0.9381 GB, free: 5.273 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003264/0.8704, allocations: 35.66 kB / 0.9381 GB, free: 5.238 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001788/0.8722, allocations: 243.9 kB / 0.9383 GB, free: 5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004992/0.8727, allocations: 342.8 kB / 0.9387 GB, free: 4.664 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.8884, allocations: 6.83 MB / 0.9453 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05438/0.9428, allocations: 39.85 MB / 0.9843 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.9472, allocations: 2.916 MB / 0.9871 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002977/0.9502, allocations: 1.782 MB / 0.9888 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.9503, allocations: 18 kB / 0.9889 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.9504, allocations: 60.55 kB / 0.9889 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.587e-06/0.9504, allocations: 0 / 0.9889 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02596/0.9764, allocations: 9.991 MB / 0.9987 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.9764, allocations: 77.39 kB / 0.9988 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.9792, allocations: 1.523 MB / 1 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.9794, allocations: 53.7 kB / 1 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.9812, allocations: 2.327 MB / 1.003 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007646/0.9819, allocations: 0.6623 MB / 1.003 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007325/0.9827, allocations: 412.1 kB / 1.004 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9828, allocations: 309.1 kB / 1.004 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.9846, allocations: 1.176 MB / 1.005 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/0.9871, allocations: 1.885 MB / 1.007 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004679/0.9918, allocations: 3.371 MB / 1.01 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.9918, allocations: 8 kB / 1.01 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008583/1, allocations: 4.535 MB / 1.015 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/1, allocations: 19.94 kB / 1.015 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/1, allocations: 24 kB / 1.015 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004011/1.005, allocations: 1.582 MB / 1.016 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.006, allocations: 355.3 kB / 1.017 GB, free: 208 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02597/1.032, allocations: 18.59 MB / 1.035 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.034, allocations: 120.3 kB / 1.035 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/1.034, allocations: 96 kB / 1.035 GB, free: 12.84 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003535/1.037, allocations: 1.898 MB / 1.037 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/1.038, allocations: 238.5 kB / 1.037 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007076/1.045, allocations: 4.043 MB / 1.041 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/1.045, allocations: 20 kB / 1.041 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/1.045, allocations: 16 kB / 1.041 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.045, allocations: 11.91 kB / 1.041 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.063, allocations: 9.422 MB / 1.05 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.063, allocations: 4 kB / 1.05 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/1.064, allocations: 179.7 kB / 1.05 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003544/1.068, allocations: 1.36 MB / 1.052 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/1.068, allocations: 36 kB / 1.052 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02357/1.091, allocations: 17.38 MB / 1.069 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/1.091, allocations: 4 kB / 1.069 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007387/1.099, allocations: 4.036 MB / 1.073 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.1, allocations: 0.5385 MB / 1.073 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005318/1.101, allocations: 36 kB / 1.073 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.102, allocations: 87.89 kB / 1.073 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005218/1.103, allocations: 161.7 kB / 1.073 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.103, allocations: 48 kB / 1.073 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001475/1.104, allocations: 1.001 MB / 1.074 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7e-08/1.104, allocations: 0 / 1.074 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003001/1.107, allocations: 0.9844 MB / 1.075 GB, free: 2.359 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002845/1.107, allocations: 158.9 kB / 1.076 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006977/1.114, allocations: 4.155 MB / 1.08 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.114, allocations: 0 / 1.08 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004393/1.119, allocations: 2.584 MB / 1.082 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/1.122, allocations: 0.7776 MB / 1.083 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/1.139, allocations: 9.514 MB / 1.092 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004581/1.144, allocations: 3.662 MB / 1.096 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/1.144, allocations: 127.4 kB / 1.096 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of SimCode: time 1.252e-06/1.144, allocations: 0 / 1.096 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.4936/1.638, allocations: 159.8 MB / 1.252 GB, free: 196.2 MB / 0.8731 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.311698058008915] Failed to read output from testmodel.py, exit status != 0: 1.646887171009439 1.655326409 0.839349773 Calling exit ...