Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.00122/0.00122, allocations: 109.2 kB / 16.45 MB, free: 6.035 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.001266/0.001266, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.313/1.313, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 179] 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.00239/0.00239, allocations: 287.7 kB / 303 MB, free: 9.5 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.135/1.135, allocations: 180.9 MB / 0.5261 GB, free: 14.69 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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 99.77 kB / 0.7248 GB, free: 39.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1415, allocations: 94.16 MB / 0.8167 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0315/0.173, allocations: 27.07 MB / 0.8432 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.1867, allocations: 8.168 MB / 0.8512 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.1887, allocations: 119.4 kB / 0.8513 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007043/0.1957, allocations: 2.81 MB / 0.854 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.1999, allocations: 1.675 MB / 0.8556 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.2042, allocations: 1.674 MB / 0.8573 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008126/0.2123, allocations: 6.13 MB / 0.8633 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008273/0.2206, allocations: 5.322 MB / 0.8685 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004256/0.2248, allocations: 2.617 MB / 0.871 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004752/0.2296, allocations: 2.99 MB / 0.8739 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.2309, allocations: 0.5078 MB / 0.8744 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/0.234, allocations: 1.315 MB / 0.8757 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/0.2369, allocations: 2.104 MB / 0.8778 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004085/0.2409, allocations: 2.373 MB / 0.8801 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009986/0.2509, allocations: 8.083 MB / 0.888 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2509, allocations: 3.938 kB / 0.888 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2509, allocations: 0 / 0.888 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001795/0.2511, allocations: 0 / 0.888 GB, free: 12.13 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009281/0.2604, allocations: 4.332 MB / 0.8922 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2604, allocations: 8.031 kB / 0.8922 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009471/0.2614, allocations: 0.5421 MB / 0.8928 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/0.2657, allocations: 0.8219 MB / 0.8936 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005713/0.2714, allocations: 2.586 MB / 0.8961 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.2716, allocations: 279.6 kB / 0.8964 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007801/0.2724, allocations: 376.4 kB / 0.8967 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009589/0.282, allocations: 5.992 MB / 0.9026 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.254e-05/0.282, allocations: 19.83 kB / 0.9026 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.2824, allocations: 156 kB / 0.9027 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005798/0.283, allocations: 286.9 kB / 0.903 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008688/0.2917, allocations: 4.524 MB / 0.9074 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.3227, allocations: 27.5 MB / 0.9343 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.3244, allocations: 1.061 MB / 0.9353 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.3257, allocations: 0.9592 MB / 0.9362 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.3258, allocations: 12.98 kB / 0.9363 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.3258, allocations: 59.55 kB / 0.9363 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.725e-06/0.3258, allocations: 0 / 0.9363 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of matching and sorting (n=131): time 0.02073/0.3465, allocations: 9.7 MB / 0.9458 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.3466, allocations: 64.72 kB / 0.9458 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.3484, allocations: 1.502 MB / 0.9473 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.82e-05/0.3485, allocations: 49.7 kB / 0.9474 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.3497, allocations: 1.719 MB / 0.949 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.3501, allocations: 487.8 kB / 0.9495 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005071/0.3506, allocations: 335.4 kB / 0.9498 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3508, allocations: 305.1 kB / 0.9501 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.3521, allocations: 0.9135 MB / 0.951 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.3539, allocations: 1.459 MB / 0.9524 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/0.3573, allocations: 2.55 MB / 0.9549 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.3573, allocations: 8 kB / 0.9549 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005842/0.3632, allocations: 3.271 MB / 0.9581 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3632, allocations: 12 kB / 0.9581 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.3632, allocations: 20 kB / 0.9582 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.3654, allocations: 0.7458 MB / 0.9589 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.367, allocations: 387.3 kB / 0.9593 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01745/0.3844, allocations: 17.05 MB / 0.9759 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.3859, allocations: 95.91 kB / 0.976 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.386, allocations: 76 kB / 0.9761 GB, free: 12.94 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002023/0.3881, allocations: 1.317 MB / 0.9774 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.3884, allocations: 206.7 kB / 0.9776 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.3935, allocations: 2.765 MB / 0.9803 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.3935, allocations: 12 kB / 0.9803 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/0.3935, allocations: 8 kB / 0.9803 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.3935, allocations: 7.969 kB / 0.9803 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.4044, allocations: 6.194 MB / 0.9863 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4044, allocations: 4 kB / 0.9863 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.4056, allocations: 239.6 kB / 0.9866 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.4075, allocations: 0.6675 MB / 0.9872 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.4076, allocations: 32 kB / 0.9872 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3177/0.7253, allocations: 16.78 MB / 1.004 GB, free: 167.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.7253, allocations: 9.406 kB / 1.004 GB, free: 167.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00585/0.7311, allocations: 3.997 MB / 1.008 GB, free: 167.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009882/0.7321, allocations: 466.7 kB / 1.008 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.7324, allocations: 30.25 kB / 1.008 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/0.7332, allocations: 83.83 kB / 1.008 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.7335, allocations: 119.1 kB / 1.008 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-05/0.7336, allocations: 38.3 kB / 1.008 GB, free: 167.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00139/0.735, allocations: 0.9938 MB / 1.009 GB, free: 167.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.735, allocations: 1.469 kB / 1.009 GB, free: 167.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002049/0.737, allocations: 0.685 MB / 1.01 GB, free: 167.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006278/0.7433, allocations: 4.605 MB / 1.014 GB, free: 165.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005094/0.7484, allocations: 3.377 MB / 1.018 GB, free: 163.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.7484, allocations: 1.438 kB / 1.018 GB, free: 163.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002423/0.7508, allocations: 2.255 MB / 1.02 GB, free: 162.1 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.7534, allocations: 0.6671 MB / 1.021 GB, free: 161.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.7794, allocations: 21.22 MB / 1.041 GB, free: 149.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/0.7819, allocations: 2.661 MB / 1.044 GB, free: 147.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001235/0.7831, allocations: 487.4 kB / 1.044 GB, free: 146.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009963/0.7841, allocations: 1.276 MB / 1.046 GB, free: 145.4 MB / 0.7481 GB Notification: Performance of SimCode: time 8.52e-07/0.7841, allocations: 4 kB / 1.046 GB, free: 145.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/0.8843, allocations: 57.59 MB / 1.102 GB, free: 88.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.21, allocations: 12 kB / 1.102 GB, free: 88.63 MB / 0.7481 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.2666524508968] Failed to read output from testmodel.py, exit status != 0: 13.321757026016712 13.329790313 13.076798484 Calling exit ...