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.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.0007917/0.0007917, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008201/0.0008201, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8814/0.8814, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.00139/0.00139, allocations: 233.3 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6675/0.6675, allocations: 138.4 MB / 454.3 MB, free: 1.652 MB / 362.7 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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.6463 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.683e-05, allocations: 2.281 kB / 0.6463 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01407/0.0141, allocations: 19.12 MB / 0.665 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006866/0.02097, allocations: 6.389 MB / 0.6712 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.02237, allocations: 111.2 kB / 0.6713 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.02475, allocations: 2.262 MB / 0.6735 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.02689, allocations: 1.266 MB / 0.6748 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.02884, allocations: 1.31 MB / 0.6761 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003503/0.03235, allocations: 4.951 MB / 0.6809 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.03553, allocations: 3.152 MB / 0.684 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.03887, allocations: 3.013 MB / 0.6869 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.04114, allocations: 2.19 MB / 0.6891 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004704/0.04161, allocations: 428 kB / 0.6895 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.04298, allocations: 0.9592 MB / 0.6904 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.0442, allocations: 1.781 MB / 0.6921 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/0.04547, allocations: 1.337 MB / 0.6934 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.005507/0.05098, allocations: 6.638 MB / 0.6999 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.05098, allocations: 4 kB / 0.6999 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.813e-06/0.05099, allocations: 0 / 0.6999 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001304/0.05112, allocations: 0 / 0.6999 GB, free: 10.47 MB / 0.5417 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.005365/0.05648, allocations: 3.442 MB / 0.7033 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.05653, allocations: 8.75 kB / 0.7033 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000516/0.05705, allocations: 450.6 kB / 0.7037 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.05897, allocations: 0.6585 MB / 0.7044 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.06149, allocations: 1.997 MB / 0.7063 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.0616, allocations: 218.3 kB / 0.7065 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.06191, allocations: 300.3 kB / 0.7068 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005522/0.06743, allocations: 5.238 MB / 0.7119 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.183e-05/0.0675, allocations: 15.83 kB / 0.712 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.06771, allocations: 132 kB / 0.7121 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/0.06796, allocations: 229.7 kB / 0.7123 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004189/0.07215, allocations: 3.754 MB / 0.716 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/0.08462, allocations: 13.55 MB / 0.7292 GB, free: 11.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.08581, allocations: 1.23 MB / 0.7304 GB, free: 10.5 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000942/0.08675, allocations: 0.9836 MB / 0.7314 GB, free: 9.516 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.0868, allocations: 12.94 kB / 0.7314 GB, free: 9.504 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.08684, allocations: 47.56 kB / 0.7314 GB, free: 9.449 MB / 0.573 GB Notification: Performance of pre-optimization done (n=107): time 3.596e-06/0.08684, allocations: 0 / 0.7314 GB, free: 9.449 MB / 0.573 GB Notification: Performance of matching and sorting (n=138): time 0.01324/0.1001, allocations: 8.436 MB / 0.7397 GB, free: 1.008 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1001, allocations: 64.72 kB / 0.7397 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.1013, allocations: 1.157 MB / 0.7408 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/0.1014, allocations: 45.7 kB / 0.7409 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/0.102, allocations: 1.331 MB / 0.7422 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.1023, allocations: 499.7 kB / 0.7427 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003301/0.1026, allocations: 287.5 kB / 0.7429 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.1027, allocations: 309 kB / 0.7432 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009565/0.1037, allocations: 0.9174 MB / 0.7441 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.1048, allocations: 1.322 MB / 0.7454 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.1069, allocations: 2.426 MB / 0.7478 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.107, allocations: 8 kB / 0.7478 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003817/0.1108, allocations: 3.429 MB / 0.7511 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.1108, allocations: 13.56 kB / 0.7512 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.1108, allocations: 16.16 kB / 0.7512 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.1126, allocations: 1.178 MB / 0.7523 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.1132, allocations: 259.5 kB / 0.7526 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.1245, allocations: 13.34 MB / 0.7656 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.1255, allocations: 88.34 kB / 0.7657 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.1256, allocations: 64 kB / 0.7657 GB, free: 5.535 MB / 0.6042 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.001515/0.1271, allocations: 1.121 MB / 0.7668 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.1273, allocations: 163 kB / 0.767 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/0.1308, allocations: 3.142 MB / 0.7701 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1308, allocations: 16 kB / 0.7701 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/0.1309, allocations: 15.94 kB / 0.7701 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1309, allocations: 7.984 kB / 0.7701 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007298/0.1382, allocations: 5.905 MB / 0.7759 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.1382, allocations: 4 kB / 0.7759 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.1385, allocations: 151.8 kB / 0.776 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.1402, allocations: 1.067 MB / 0.7771 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.1402, allocations: 24 kB / 0.7771 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.1512, allocations: 13.04 MB / 0.7898 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.1512, allocations: 8 kB / 0.7898 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.1544, allocations: 3.116 MB / 0.7929 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.155, allocations: 358.8 kB / 0.7932 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.1551, allocations: 24 kB / 0.7932 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.1556, allocations: 87.83 kB / 0.7933 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002585/0.1558, allocations: 128.6 kB / 0.7934 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.1559, allocations: 40 kB / 0.7935 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007213/0.1566, allocations: 0.7671 MB / 0.7942 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1566, allocations: 4 kB / 0.7942 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001362/0.158, allocations: 0.6601 MB / 0.7949 GB, free: 7.105 MB / 0.6355 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.003417/0.1614, allocations: 3.694 MB / 0.7985 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003039/0.1644, allocations: 3.013 MB / 0.8014 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1644, allocations: 0 / 0.8014 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.1661, allocations: 1.878 MB / 0.8033 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.1674, allocations: 0.5 MB / 0.8037 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.1881, allocations: 19.21 MB / 0.8225 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/0.1899, allocations: 1.765 MB / 0.8242 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008261/0.1908, allocations: 350.1 kB / 0.8246 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008292/0.1916, allocations: 1.012 MB / 0.8256 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of SimCode: time 2.114e-06/0.1916, allocations: 4 kB / 0.8256 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2996/0.4912, allocations: 55.91 MB / 0.8802 GB, free: 193.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.396, allocations: 4.922 kB / 0.8802 GB, free: 193.1 MB / 0.698 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.198404039256275] Failed to read output from testmodel.py, exit status != 0: 8.500625566579401 8.506863964 8.454065685 Calling exit ...