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.001353/0.001353, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001487/0.001487, allocations: 213.2 kB / 22.24 MB, free: 5.262 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.002628/0.002628, allocations: 290 kB / 312.7 MB, free: 2.598 MB / 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 1.227/1.227, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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 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.003061/0.003061, allocations: 100.5 kB / 0.74 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1731, allocations: 95.37 MB / 0.8331 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04959/0.2226, allocations: 36.43 MB / 0.8687 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.2433, allocations: 11.11 MB / 0.8796 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.2466, allocations: 202.6 kB / 0.8798 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01188/0.2585, allocations: 4.38 MB / 0.884 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006847/0.2653, allocations: 2.336 MB / 0.8863 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005789/0.2711, allocations: 2.178 MB / 0.8884 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01179/0.2829, allocations: 9.269 MB / 0.8975 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.2941, allocations: 6.345 MB / 0.9037 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006495/0.3006, allocations: 4.125 MB / 0.9077 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007627/0.3082, allocations: 4.458 MB / 0.9121 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002046/0.3102, allocations: 0.8242 MB / 0.9129 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/0.314, allocations: 1.502 MB / 0.9143 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003913/0.3179, allocations: 3.235 MB / 0.9175 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004488/0.3224, allocations: 2.973 MB / 0.9204 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.3374, allocations: 12.41 MB / 0.9325 GB, free: 1.641 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3374, allocations: 0 / 0.9325 GB, free: 1.641 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3374, allocations: 0 / 0.9325 GB, free: 1.641 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002463/0.3377, allocations: 0 / 0.9325 GB, free: 1.641 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.01343/0.3511, allocations: 6.384 MB / 0.9388 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3511, allocations: 12.75 kB / 0.9388 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.3561, allocations: 1.098 MB / 0.9398 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008222/0.3644, allocations: 3.58 MB / 0.9433 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.3647, allocations: 427.7 kB / 0.9437 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009657/0.3657, allocations: 0.5394 MB / 0.9443 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/0.3824, allocations: 10.28 MB / 0.9543 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.3825, allocations: 31.75 kB / 0.9543 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006072/0.3831, allocations: 248 kB / 0.9546 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006603/0.3838, allocations: 418.9 kB / 0.955 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/0.3965, allocations: 7.116 MB / 0.9619 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4001/0.7966, allocations: 25.34 MB / 0.9867 GB, free: 116.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.8007, allocations: 2.905 MB / 0.9895 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/0.803, allocations: 1.933 MB / 0.9914 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/0.8031, allocations: 24.25 kB / 0.9914 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.8032, allocations: 60.67 kB / 0.9915 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.188e-06/0.8032, allocations: 0 / 0.9915 GB, free: 116.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02418/0.8274, allocations: 10.26 MB / 1.001 GB, free: 114 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.8274, allocations: 77.81 kB / 1.002 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.8297, allocations: 1.833 MB / 1.003 GB, free: 113.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.8298, allocations: 63.77 kB / 1.003 GB, free: 113.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.831, allocations: 2.482 MB / 1.006 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005017/0.8315, allocations: 0.7761 MB / 1.007 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006409/0.8321, allocations: 478.8 kB / 1.007 GB, free: 110.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.8321, allocations: 304.6 kB / 1.007 GB, free: 110.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/0.8338, allocations: 1.366 MB / 1.009 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.8357, allocations: 2.105 MB / 1.011 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003726/0.8394, allocations: 3.766 MB / 1.014 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.8394, allocations: 7.875 kB / 1.014 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006399/0.8458, allocations: 5.011 MB / 1.019 GB, free: 104 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.8458, allocations: 17.03 kB / 1.019 GB, free: 104 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.8458, allocations: 22.97 kB / 1.019 GB, free: 104 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/0.8488, allocations: 1.584 MB / 1.021 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.8503, allocations: 452.5 kB / 1.021 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.8667, allocations: 17.79 MB / 1.039 GB, free: 86.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/0.8689, allocations: 147.9 kB / 1.039 GB, free: 86.64 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.8691, allocations: 104 kB / 1.039 GB, free: 86.54 MB / 0.7169 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.002563/0.8717, allocations: 1.946 MB / 1.041 GB, free: 84.58 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.872, allocations: 282.3 kB / 1.041 GB, free: 84.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005569/0.8776, allocations: 4.393 MB / 1.045 GB, free: 79.88 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.8776, allocations: 20 kB / 1.045 GB, free: 79.86 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.8776, allocations: 16 kB / 1.045 GB, free: 79.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.8776, allocations: 15.95 kB / 1.045 GB, free: 79.83 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.8896, allocations: 8.345 MB / 1.054 GB, free: 71.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.8896, allocations: 4 kB / 1.054 GB, free: 71.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008973/0.8905, allocations: 235.6 kB / 1.054 GB, free: 71.17 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/0.8932, allocations: 1.424 MB / 1.055 GB, free: 69.74 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.8933, allocations: 47.12 kB / 1.055 GB, free: 69.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/0.9098, allocations: 17.79 MB / 1.073 GB, free: 51.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9098, allocations: 11.88 kB / 1.073 GB, free: 51.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.9155, allocations: 4.474 MB / 1.077 GB, free: 46.95 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.9169, allocations: 0.545 MB / 1.078 GB, free: 46.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/0.9172, allocations: 47.94 kB / 1.078 GB, free: 46.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.9184, allocations: 115.9 kB / 1.078 GB, free: 46.24 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/0.9188, allocations: 193.3 kB / 1.078 GB, free: 46.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.9189, allocations: 60 kB / 1.078 GB, free: 45.99 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001208/0.9201, allocations: 1.165 MB / 1.079 GB, free: 44.81 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.9201, allocations: 0 / 1.079 GB, free: 44.81 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002829/0.9229, allocations: 1.141 MB / 1.08 GB, free: 43.67 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 (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.0002329/0.9232, allocations: 169.2 kB / 1.08 GB, free: 43.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005503/0.9287, allocations: 4.544 MB / 1.085 GB, free: 38.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.9287, allocations: 0 / 1.085 GB, free: 38.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/0.9321, allocations: 2.798 MB / 1.088 GB, free: 36.06 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/0.935, allocations: 0.8208 MB / 1.088 GB, free: 35.29 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.9469, allocations: 9.567 MB / 1.098 GB, free: 25.63 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/0.9499, allocations: 3.158 MB / 1.101 GB, free: 22.44 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001722/0.9516, allocations: 0.5343 MB / 1.101 GB, free: 21.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.952, allocations: 139.4 kB / 1.101 GB, free: 21.77 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/0.952, allocations: 0 / 1.101 GB, free: 21.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.08737/1.039, allocations: 58.63 MB / 1.159 GB, free: 12.14 MB / 0.7637 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.361129274591804] Failed to read output from testmodel.py, exit status != 0: 1.0470516216009855 1.062215577 0.721635019 Calling exit ...