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.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.001199/0.001199, 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.001386/0.001386, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8763/0.8763, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001367/0.001367, allocations: 229.2 kB / 259.4 MB, free: 13.01 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.6932/0.6932, allocations: 138.4 MB / 454.3 MB, free: 30.02 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_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 2.805e-06/2.805e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.711e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.2682/0.2682, allocations: 25.06 MB / 0.6708 GB, free: 42.74 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009674/0.2779, allocations: 7.978 MB / 0.6786 GB, free: 37.57 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.2802, allocations: 154.3 kB / 0.6787 GB, free: 37.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003835/0.284, allocations: 2.766 MB / 0.6814 GB, free: 35.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.2881, allocations: 1.724 MB / 0.6831 GB, free: 34.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.2918, allocations: 1.706 MB / 0.6848 GB, free: 33.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006411/0.2982, allocations: 6.262 MB / 0.6909 GB, free: 30.96 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004521/0.3027, allocations: 3.762 MB / 0.6946 GB, free: 29.08 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006837/0.3095, allocations: 3.721 MB / 0.6982 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005333/0.3149, allocations: 2.636 MB / 0.7008 GB, free: 26.44 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.3161, allocations: 0.5081 MB / 0.7013 GB, free: 26.44 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.3186, allocations: 1.217 MB / 0.7024 GB, free: 26.17 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0018/0.3204, allocations: 2.198 MB / 0.7046 GB, free: 24.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002605/0.323, allocations: 1.662 MB / 0.7062 GB, free: 23.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006864/0.3299, allocations: 8.202 MB / 0.7142 GB, free: 18 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3299, allocations: 0 / 0.7142 GB, free: 18 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3299, allocations: 7.922 kB / 0.7142 GB, free: 17.99 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002465/0.3301, allocations: 1.281 kB / 0.7142 GB, free: 17.99 MB / 0.5573 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.00786/0.338, allocations: 4.216 MB / 0.7184 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.338, allocations: 12.22 kB / 0.7184 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007916/0.3388, allocations: 0.5355 MB / 0.7189 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.3414, allocations: 0.8323 MB / 0.7197 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.3445, allocations: 2.532 MB / 0.7222 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.3447, allocations: 273.7 kB / 0.7224 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005044/0.3452, allocations: 370.9 kB / 0.7228 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005915/0.3511, allocations: 6.447 MB / 0.7291 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-05/0.3512, allocations: 27.81 kB / 0.7291 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.3514, allocations: 156 kB / 0.7293 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002779/0.3517, allocations: 282.9 kB / 0.7295 GB, free: 5.488 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.3563, allocations: 4.516 MB / 0.7339 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.3737, allocations: 17.96 MB / 0.7515 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.3747, allocations: 1.062 MB / 0.7525 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008848/0.3756, allocations: 0.9563 MB / 0.7535 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.444e-05/0.3757, allocations: 17 kB / 0.7535 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.3757, allocations: 43.56 kB / 0.7535 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=110): time 3.206e-06/0.3757, allocations: 4 kB / 0.7535 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=131): time 0.01263/0.3884, allocations: 9.107 MB / 0.7624 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3884, allocations: 72.7 kB / 0.7625 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.39, allocations: 1.525 MB / 0.764 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.39, allocations: 45.7 kB / 0.764 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/0.3908, allocations: 1.711 MB / 0.7657 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.391, allocations: 483.8 kB / 0.7661 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.3913, allocations: 335.3 kB / 0.7665 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.3914, allocations: 305.1 kB / 0.7668 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008751/0.3923, allocations: 0.9096 MB / 0.7676 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.3934, allocations: 1.467 MB / 0.7691 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.3957, allocations: 2.546 MB / 0.7716 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.3957, allocations: 8 kB / 0.7716 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00354/0.3992, allocations: 3.276 MB / 0.7748 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.3993, allocations: 12 kB / 0.7748 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.3993, allocations: 22.75 kB / 0.7748 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.4005, allocations: 0.7402 MB / 0.7755 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/0.4013, allocations: 383.4 kB / 0.7759 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.4115, allocations: 16 MB / 0.7915 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.4128, allocations: 107.8 kB / 0.7916 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/0.4129, allocations: 72 kB / 0.7917 GB, free: 3.652 MB / 0.6198 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.00177/0.4146, allocations: 1.314 MB / 0.793 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4149, allocations: 210.7 kB / 0.7932 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.4179, allocations: 2.765 MB / 0.7959 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.4179, allocations: 12 kB / 0.7959 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4179, allocations: 8 kB / 0.7959 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4179, allocations: 11.91 kB / 0.7959 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006846/0.4247, allocations: 5.888 MB / 0.8017 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4247, allocations: 4.188 kB / 0.8017 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.4253, allocations: 239.6 kB / 0.8019 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.4264, allocations: 0.6716 MB / 0.8025 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.627e-05/0.4265, allocations: 32 kB / 0.8026 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009439/0.4359, allocations: 15.74 MB / 0.8179 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.4359, allocations: 11.94 kB / 0.818 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/0.4403, allocations: 3.982 MB / 0.8218 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007378/0.441, allocations: 386.6 kB / 0.8222 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.4412, allocations: 31.98 kB / 0.8222 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.4417, allocations: 84.02 kB / 0.8223 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.442, allocations: 128.5 kB / 0.8224 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.442, allocations: 44 kB / 0.8225 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001029/0.4431, allocations: 0.9903 MB / 0.8235 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.4431, allocations: 0 / 0.8235 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001793/0.4449, allocations: 0.6901 MB / 0.8241 GB, free: 1.066 MB / 0.6511 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.004394/0.4492, allocations: 4.582 MB / 0.8286 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003466/0.4527, allocations: 3.381 MB / 0.8319 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4527, allocations: 0 / 0.8319 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.4547, allocations: 2.233 MB / 0.8341 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.4566, allocations: 0.6794 MB / 0.8348 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/0.4823, allocations: 21.21 MB / 0.8555 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/0.4842, allocations: 2.101 MB / 0.8575 GB, free: 13.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001016/0.4852, allocations: 489.4 kB / 0.858 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.4863, allocations: 1.285 MB / 0.8592 GB, free: 11.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/0.4863, allocations: 0 / 0.8592 GB, free: 11.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09528/0.5815, allocations: 61.46 MB / 0.9193 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.576, allocations: 3.938 kB / 0.9193 GB, free: 15.4 MB / 0.7605 GB " [Timeout remaining time 651] (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: 11.321732047013938] Failed to read output from testmodel.py, exit status != 0: 8.68923263065517 8.696687597 8.364757578 Calling exit ...