Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001315/0.001315, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.00139/0.00139, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.43/1.43, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.002438/0.002438, allocations: 286.9 kB / 303.6 MB, free: 3.688 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.069/1.069, allocations: 180.9 MB / 0.5268 GB, free: 2.734 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 99.83 kB / 0.7259 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5424, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02272/0.5651, allocations: 20.56 MB / 0.838 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.5785, allocations: 6.517 MB / 0.8443 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.5816, allocations: 87.66 kB / 0.8444 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007045/0.5886, allocations: 2.275 MB / 0.8466 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004351/0.593, allocations: 1.244 MB / 0.8478 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.5971, allocations: 1.292 MB / 0.8491 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007392/0.6045, allocations: 4.855 MB / 0.8538 GB, free: 60 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006993/0.6115, allocations: 4.234 MB / 0.858 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.6165, allocations: 2.117 MB / 0.8601 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005594/0.6221, allocations: 2.477 MB / 0.8625 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.624, allocations: 434.8 kB / 0.8629 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/0.6277, allocations: 1.018 MB / 0.8639 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00319/0.6309, allocations: 1.71 MB / 0.8655 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00463/0.6355, allocations: 1.912 MB / 0.8674 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.6466, allocations: 6.536 MB / 0.8738 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.6467, allocations: 0 / 0.8738 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6467, allocations: 1.188 kB / 0.8738 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002487/0.6469, allocations: 0 / 0.8738 GB, free: 4.336 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01197/0.6589, allocations: 3.544 MB / 0.8773 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.6589, allocations: 9.25 kB / 0.8773 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004077/0.663, allocations: 0.6541 MB / 0.8779 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005047/0.668, allocations: 2.055 MB / 0.8799 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.6683, allocations: 221.9 kB / 0.8801 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.6693, allocations: 289 kB / 0.8804 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.6803, allocations: 4.897 MB / 0.8852 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.903e-05/0.6804, allocations: 19.81 kB / 0.8852 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003829/0.6808, allocations: 128 kB / 0.8853 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004763/0.6812, allocations: 221.7 kB / 0.8855 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007908/0.6891, allocations: 3.754 MB / 0.8892 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03118/0.7203, allocations: 21.44 MB / 0.9101 GB, free: 156 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.7225, allocations: 1.234 MB / 0.9113 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.7242, allocations: 0.983 MB / 0.9123 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.7244, allocations: 16.91 kB / 0.9123 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/0.7244, allocations: 47.5 kB / 0.9124 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/0.7244, allocations: 0 / 0.9124 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=138): time 0.02737/0.7518, allocations: 8.657 MB / 0.9208 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.7519, allocations: 68.72 kB / 0.9209 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.7538, allocations: 1.13 MB / 0.922 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.754, allocations: 49.7 kB / 0.922 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.755, allocations: 1.335 MB / 0.9233 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005824/0.7556, allocations: 0.4919 MB / 0.9238 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005961/0.7562, allocations: 295.5 kB / 0.9241 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7564, allocations: 305.1 kB / 0.9244 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.7578, allocations: 0.9135 MB / 0.9253 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.7598, allocations: 1.326 MB / 0.9266 GB, free: 15.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003577/0.7634, allocations: 2.426 MB / 0.9289 GB, free: 12.42 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.7634, allocations: 4 kB / 0.929 GB, free: 12.42 MB / 0.67 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006823/0.7702, allocations: 3.444 MB / 0.9323 GB, free: 8.953 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.7702, allocations: 8 kB / 0.9323 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.7703, allocations: 20 kB / 0.9323 GB, free: 8.926 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/0.7738, allocations: 1.177 MB / 0.9335 GB, free: 7.742 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.7748, allocations: 255.6 kB / 0.9337 GB, free: 7.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/0.795, allocations: 13.86 MB / 0.9473 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.7966, allocations: 91.97 kB / 0.9474 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/0.7969, allocations: 60 kB / 0.9474 GB, free: 9.07 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002428/0.7993, allocations: 1.12 MB / 0.9485 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.7997, allocations: 167 kB / 0.9487 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006179/0.8059, allocations: 3.134 MB / 0.9517 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.8059, allocations: 16 kB / 0.9517 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.8059, allocations: 19.94 kB / 0.9518 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.8059, allocations: 7.969 kB / 0.9518 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/0.8171, allocations: 6.202 MB / 0.9578 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.8171, allocations: 7.984 kB / 0.9578 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.8177, allocations: 147.8 kB / 0.958 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/0.8209, allocations: 1.072 MB / 0.959 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/0.821, allocations: 32 kB / 0.9591 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/0.8398, allocations: 13.54 MB / 0.9723 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.8398, allocations: 4.125 kB / 0.9723 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/0.8456, allocations: 3.12 MB / 0.9753 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/0.8466, allocations: 439.9 kB / 0.9757 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.8468, allocations: 39.92 kB / 0.9758 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.8476, allocations: 75.91 kB / 0.9759 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.8479, allocations: 124.7 kB / 0.976 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.848, allocations: 44 kB / 0.976 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001131/0.8492, allocations: 0.7632 MB / 0.9768 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8492, allocations: 0 / 0.9768 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002213/0.8514, allocations: 0.6602 MB / 0.9774 GB, free: 9.656 MB / 0.7169 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002473/0.8516, allocations: 148.4 kB / 0.9775 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00516/0.8568, allocations: 3.001 MB / 0.9805 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.8568, allocations: 4 kB / 0.9805 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/0.86, allocations: 1.877 MB / 0.9823 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.8623, allocations: 0.491 MB / 0.9828 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.8739, allocations: 5.897 MB / 0.9886 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/0.877, allocations: 2.391 MB / 0.9909 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.8775, allocations: 95.42 kB / 0.991 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of SimCode: time 1.623e-06/0.8775, allocations: 0 / 0.991 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of Templates: time 0.09846/0.976, allocations: 79.73 MB / 1.069 GB, free: 11.9 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.581465336959809] Failed to read output from testmodel.py, exit status != 0: 0.98563392017968 0.998513199 0.34857557299999997 Calling exit ...