Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.0007733/0.0007733, 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.001271/0.001271, 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.9083/0.9083, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.00147/0.00147, allocations: 226.4 kB / 259.4 MB, free: 13.04 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.6605/0.6605, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.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_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.269e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.2543/0.2543, allocations: 38.34 MB / 0.6838 GB, free: 34.58 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.2709, allocations: 15.05 MB / 0.6985 GB, free: 24.96 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.2733, allocations: 251.2 kB / 0.6987 GB, free: 24.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004868/0.2781, allocations: 4.506 MB / 0.7031 GB, free: 22.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.283, allocations: 3.01 MB / 0.706 GB, free: 20.42 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004889/0.2879, allocations: 3.219 MB / 0.7092 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007931/0.2958, allocations: 11.66 MB / 0.7206 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00696/0.3028, allocations: 6.729 MB / 0.7271 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/0.3098, allocations: 6.89 MB / 0.7339 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005224/0.315, allocations: 5.095 MB / 0.7388 GB, free: 12.49 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.3164, allocations: 0.9492 MB / 0.7398 GB, free: 11.54 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.3192, allocations: 1.923 MB / 0.7416 GB, free: 9.621 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002468/0.3217, allocations: 3.952 MB / 0.7455 GB, free: 5.66 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.3247, allocations: 3.033 MB / 0.7485 GB, free: 2.621 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008812/0.3335, allocations: 14.56 MB / 0.7627 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3335, allocations: 0 / 0.7627 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3335, allocations: 0 / 0.7627 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000115/0.3337, allocations: 0 / 0.7627 GB, free: 4.023 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.008966/0.3426, allocations: 7.641 MB / 0.7701 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.3427, allocations: 13.94 kB / 0.7702 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008384/0.3435, allocations: 0.8877 MB / 0.771 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.3485, allocations: 1.569 MB / 0.7726 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005532/0.354, allocations: 4.385 MB / 0.7768 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.3542, allocations: 460.5 kB / 0.7773 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006846/0.3549, allocations: 0.5901 MB / 0.7779 GB, free: 4.309 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.3663, allocations: 11.59 MB / 0.7892 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.3664, allocations: 28.02 kB / 0.7892 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004738/0.3669, allocations: 264.1 kB / 0.7895 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001399/0.3683, allocations: 0.7781 MB / 0.7902 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009618/0.3779, allocations: 8.549 MB / 0.7986 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03182/0.4097, allocations: 31.41 MB / 0.8292 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/0.4132, allocations: 3.968 MB / 0.8331 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/0.4164, allocations: 3.374 MB / 0.8364 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.4166, allocations: 34.78 kB / 0.8364 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.4166, allocations: 81.33 kB / 0.8365 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=353): time 4.598e-06/0.4166, allocations: 0 / 0.8365 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of matching and sorting (n=578): time 0.4974/0.914, allocations: 121.1 MB / 0.9548 GB, free: 226.2 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.9141, allocations: 119.1 kB / 0.9549 GB, free: 226.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.9164, allocations: 2.721 MB / 0.9575 GB, free: 225.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003428/0.9167, allocations: 119.5 kB / 0.9576 GB, free: 225.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008513/0.9176, allocations: 2.75 MB / 0.9603 GB, free: 223.3 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009991/0.9186, allocations: 2.019 MB / 0.9623 GB, free: 222 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.9197, allocations: 0.9228 MB / 0.9632 GB, free: 221.6 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 2.471e-05/0.9197, allocations: 312.3 kB / 0.9635 GB, free: 221.3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004262/0.924, allocations: 4.081 MB / 0.9675 GB, free: 219.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/0.9287, allocations: 5.012 MB / 0.9724 GB, free: 216.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009579/0.9383, allocations: 9.852 MB / 0.982 GB, free: 211.7 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/0.9383, allocations: 6.75 kB / 0.982 GB, free: 211.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.02254/0.9608, allocations: 16.74 MB / 0.9984 GB, free: 205.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.9609, allocations: 15.03 kB / 0.9984 GB, free: 205.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.9609, allocations: 26.38 kB / 0.9984 GB, free: 205.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01495/0.9759, allocations: 9.068 MB / 1.007 GB, free: 202.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.9772, allocations: 0.5252 MB / 1.008 GB, free: 202.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05464/1.032, allocations: 74.63 MB / 1.081 GB, free: 131.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/1.035, allocations: 276.7 kB / 1.081 GB, free: 130.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.035, allocations: 192 kB / 1.081 GB, free: 130.7 MB / 0.7605 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002732/1.038, allocations: 2.426 MB / 1.083 GB, free: 128.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/1.038, allocations: 495.5 kB / 1.084 GB, free: 127.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/1.057, allocations: 16.54 MB / 1.1 GB, free: 111.1 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/1.057, allocations: 56 kB / 1.1 GB, free: 111.1 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.439e-05/1.057, allocations: 76.64 kB / 1.1 GB, free: 111 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/1.057, allocations: 31.83 kB / 1.1 GB, free: 111 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/1.082, allocations: 24.02 MB / 1.124 GB, free: 86.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.082, allocations: 11.94 kB / 1.124 GB, free: 86.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/1.083, allocations: 327.6 kB / 1.124 GB, free: 86.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01331/1.096, allocations: 8.246 MB / 1.132 GB, free: 78.12 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/1.096, allocations: 115.9 kB / 1.132 GB, free: 78.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05195/1.148, allocations: 71.49 MB / 1.202 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.148, allocations: 15.92 kB / 1.202 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02642/1.175, allocations: 21.29 MB / 1.223 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/1.177, allocations: 1.301 MB / 1.224 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/1.178, allocations: 115.9 kB / 1.224 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.179, allocations: 283.6 kB / 1.224 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001556/1.181, allocations: 0.5567 MB / 1.225 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/1.181, allocations: 144 kB / 1.225 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001852/1.183, allocations: 1.772 MB / 1.227 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.4e-07/1.183, allocations: 0 / 1.227 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0061/1.189, allocations: 2.461 MB / 1.229 GB, free: 9.004 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2835/1.473, allocations: 22.01 MB / 1.251 GB, free: 235.3 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01584/1.489, allocations: 13.7 MB / 1.264 GB, free: 233.4 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/1.489, allocations: 3.766 kB / 1.264 GB, free: 233.4 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01088/1.499, allocations: 9.01 MB / 1.273 GB, free: 229.4 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004031/1.503, allocations: 1.391 MB / 1.274 GB, free: 229 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08303/1.586, allocations: 70.02 MB / 1.343 GB, free: 193.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003776/1.59, allocations: 4.391 MB / 1.347 GB, free: 189.4 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001967/1.592, allocations: 0.741 MB / 1.348 GB, free: 188.7 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.594, allocations: 2.613 MB / 1.35 GB, free: 186 MB / 0.7917 GB Notification: Performance of SimCode: time 1.021e-06/1.594, allocations: 0 / 1.35 GB, free: 186 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4241/2.018, allocations: 208.9 MB / 1.554 GB, free: 226.5 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/13.56, allocations: 8.578 kB / 1.554 GB, free: 226.5 MB / 0.7917 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.51208204217255] Failed to read output from testmodel.py, exit status != 0: 13.718448747880757 13.727171816 13.391750313 Calling exit ...