Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001296/0.001296, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001396/0.001396, allocations: 215 kB / 20.13 MB, free: 2.949 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002386/0.002386, allocations: 287.3 kB / 309.8 MB, free: 3.441 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.12/1.12, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) [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.003085/0.003085, allocations: 99.86 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5367, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04445/0.5811, allocations: 35.71 MB / 0.8627 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.6026, allocations: 10.09 MB / 0.8725 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005346/0.608, allocations: 193.8 kB / 0.8727 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.6194, allocations: 3.863 MB / 0.8765 GB, free: 472 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007189/0.6265, allocations: 2.149 MB / 0.8786 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006559/0.6331, allocations: 1.963 MB / 0.8805 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01248/0.6456, allocations: 7.961 MB / 0.8883 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01445/0.66, allocations: 7.142 MB / 0.8952 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008556/0.6686, allocations: 3.466 MB / 0.8986 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007859/0.6764, allocations: 3.925 MB / 0.9025 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002617/0.6791, allocations: 0.6874 MB / 0.9031 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00571/0.6848, allocations: 1.475 MB / 0.9046 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005218/0.69, allocations: 2.685 MB / 0.9072 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00732/0.6973, allocations: 3.104 MB / 0.9102 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.7132, allocations: 10.41 MB / 0.9204 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.7133, allocations: 0 / 0.9204 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7133, allocations: 0 / 0.9204 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003424/0.7136, allocations: 0 / 0.9204 GB, free: 11.01 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01473/0.7283, allocations: 5.538 MB / 0.9258 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7284, allocations: 8.031 kB / 0.9258 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001463/0.7285, allocations: 129.8 kB / 0.9259 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001739/0.7303, allocations: 0.6945 MB / 0.9266 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005618/0.7359, allocations: 0.989 MB / 0.9276 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00697/0.7429, allocations: 3.2 MB / 0.9307 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004011/0.7433, allocations: 354 kB / 0.931 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.745, allocations: 468.3 kB / 0.9315 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.764, allocations: 7.91 MB / 0.9392 GB, free: 7.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/0.7642, allocations: 19.81 kB / 0.9392 GB, free: 7.211 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/0.7653, allocations: 212 kB / 0.9394 GB, free: 7.004 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006303/0.766, allocations: 369.1 kB / 0.9398 GB, free: 6.641 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.7797, allocations: 5.937 MB / 0.9456 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04958/0.8293, allocations: 36.01 MB / 0.9807 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/0.8333, allocations: 1.994 MB / 0.9827 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002331/0.8356, allocations: 1.34 MB / 0.984 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.8358, allocations: 21.25 kB / 0.984 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/0.8358, allocations: 59.86 kB / 0.9841 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.607e-06/0.8358, allocations: 0 / 0.9841 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=160): time 0.01573/0.8516, allocations: 7.567 MB / 0.9915 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.8516, allocations: 64.72 kB / 0.9915 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.8544, allocations: 1.872 MB / 0.9934 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.8546, allocations: 53.7 kB / 0.9934 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.8564, allocations: 2.184 MB / 0.9955 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006757/0.857, allocations: 0.5849 MB / 0.9961 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000731/0.8578, allocations: 400 kB / 0.9965 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8579, allocations: 305.1 kB / 0.9968 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.8597, allocations: 1.062 MB / 0.9978 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.8621, allocations: 1.764 MB / 0.9995 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/0.8665, allocations: 3.056 MB / 1.003 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.8665, allocations: 8 kB / 1.003 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007572/0.8741, allocations: 3.899 MB / 1.006 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.8742, allocations: 12 kB / 1.006 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/0.8742, allocations: 32.06 kB / 1.006 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/0.877, allocations: 0.9272 MB / 1.007 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.8788, allocations: 423.2 kB / 1.008 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02534/0.9041, allocations: 22.78 MB / 1.03 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.9064, allocations: 123.8 kB / 1.03 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/0.9067, allocations: 96 kB / 1.03 GB, free: 4.078 MB / 0.7637 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003158/0.9099, allocations: 1.652 MB / 1.032 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006773/0.9105, allocations: 266.4 kB / 1.032 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006892/0.9174, allocations: 3.232 MB / 1.035 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.9175, allocations: 16 kB / 1.035 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/0.9175, allocations: 11.94 kB / 1.035 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/0.9175, allocations: 11.91 kB / 1.035 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.9333, allocations: 7.521 MB / 1.043 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/0.9333, allocations: 4 kB / 1.043 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.9345, allocations: 219.6 kB / 1.043 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002745/0.9372, allocations: 0.8848 MB / 1.044 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002956/0.9375, allocations: 32 kB / 1.044 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02578/0.9633, allocations: 22.74 MB / 1.066 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.9633, allocations: 7.938 kB / 1.066 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007789/0.9711, allocations: 3.365 MB / 1.069 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.9727, allocations: 0.55 MB / 1.07 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000615/0.9733, allocations: 31.94 kB / 1.07 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.9749, allocations: 99.89 kB / 1.07 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005356/0.9754, allocations: 140.9 kB / 1.07 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.9755, allocations: 44 kB / 1.07 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0021/0.9776, allocations: 1.225 MB / 1.071 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.9776, allocations: 0 / 1.071 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003584/0.9812, allocations: 0.9062 MB / 1.072 GB, free: 7.047 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006584/0.9878, allocations: 3.965 MB / 1.076 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007333/0.9951, allocations: 4.287 MB / 1.08 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.9952, allocations: 1 kB / 1.08 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004703/0.9999, allocations: 2.905 MB / 1.083 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/1.004, allocations: 0.8382 MB / 1.084 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04523/1.049, allocations: 25.15 MB / 1.108 GB, free: 396 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005347/1.054, allocations: 3.205 MB / 1.112 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002042/1.056, allocations: 0.5293 MB / 1.112 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002904/1.059, allocations: 1.651 MB / 1.114 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of SimCode: time 2.134e-06/1.059, allocations: 0 / 1.114 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5171/1.576, allocations: 70.85 MB / 1.183 GB, free: 263.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/16.47, allocations: 7.344 kB / 1.183 GB, free: 263.6 MB / 0.8731 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.089616567012854] Failed to read output from testmodel.py, exit status != 0: 16.658459408965427 16.673353028 15.95659491 Calling exit ...