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.001688/0.001688, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002136/0.002136, allocations: 213 kB / 22.24 MB, free: 5.117 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.781 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.002565/0.002565, allocations: 286.2 kB / 312.7 MB, free: 2.605 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.304/1.304, allocations: 180.6 MB / 0.5369 GB, free: 14.44 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 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: 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.004617/0.004617, allocations: 107.5 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1951, allocations: 95.37 MB / 0.8327 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0348/0.2299, allocations: 25.58 MB / 0.8576 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.2453, allocations: 8.083 MB / 0.8655 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.248, allocations: 154.8 kB / 0.8657 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008082/0.2561, allocations: 2.771 MB / 0.8684 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.2616, allocations: 1.668 MB / 0.87 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005548/0.2671, allocations: 1.685 MB / 0.8717 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009148/0.2763, allocations: 6.135 MB / 0.8776 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009104/0.2854, allocations: 3.742 MB / 0.8813 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006278/0.2917, allocations: 2.668 MB / 0.8839 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006164/0.2978, allocations: 2.83 MB / 0.8867 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00195/0.2998, allocations: 0.5078 MB / 0.8872 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.3036, allocations: 1.197 MB / 0.8883 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003644/0.3072, allocations: 2.104 MB / 0.8904 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004713/0.3119, allocations: 1.93 MB / 0.8923 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.3242, allocations: 8.114 MB / 0.9002 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3242, allocations: 3.938 kB / 0.9002 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of FrontEnd: time 6.181e-06/0.3242, allocations: 3.984 kB / 0.9002 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000254/0.3244, allocations: 0 / 0.9002 GB, free: 2.848 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.01206/0.3365, allocations: 4.26 MB / 0.9044 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3365, allocations: 9.938 kB / 0.9044 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001679/0.3382, allocations: 0.5304 MB / 0.9049 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005231/0.3435, allocations: 0.8257 MB / 0.9057 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007674/0.3511, allocations: 2.534 MB / 0.9082 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/0.3515, allocations: 279.6 kB / 0.9084 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/0.3531, allocations: 380.4 kB / 0.9088 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.3678, allocations: 6.445 MB / 0.9151 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.368, allocations: 15.88 kB / 0.9151 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009943/0.369, allocations: 160 kB / 0.9153 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007005/0.3697, allocations: 290.8 kB / 0.9155 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.38, allocations: 4.512 MB / 0.92 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/0.4131, allocations: 18 MB / 0.9375 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.4152, allocations: 1.057 MB / 0.9386 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.4169, allocations: 0.9563 MB / 0.9395 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.417, allocations: 16.94 kB / 0.9395 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.4171, allocations: 43.56 kB / 0.9396 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 3.757e-06/0.4171, allocations: 4 kB / 0.9396 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of matching and sorting (n=131): time 0.0252/0.4423, allocations: 9.1 MB / 0.9484 GB, free: 360 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.4424, allocations: 64.72 kB / 0.9485 GB, free: 280 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.4451, allocations: 1.525 MB / 0.95 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.4453, allocations: 49.7 kB / 0.95 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.4468, allocations: 1.719 MB / 0.9517 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000672/0.4475, allocations: 491.8 kB / 0.9522 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007183/0.4482, allocations: 331.4 kB / 0.9525 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4483, allocations: 309 kB / 0.9528 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.4499, allocations: 0.9135 MB / 0.9537 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.4521, allocations: 1.463 MB / 0.9551 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004/0.4561, allocations: 2.55 MB / 0.9576 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/0.4561, allocations: 4 kB / 0.9576 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006919/0.463, allocations: 3.271 MB / 0.9608 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.4631, allocations: 17.88 kB / 0.9608 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/0.4631, allocations: 16.84 kB / 0.9608 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/0.4657, allocations: 0.7373 MB / 0.9616 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.4675, allocations: 387.3 kB / 0.9619 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.4871, allocations: 16.03 MB / 0.9776 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.489, allocations: 107.9 kB / 0.9777 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.4892, allocations: 72 kB / 0.9778 GB, free: 0.7148 MB / 0.7169 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.002408/0.4916, allocations: 1.31 MB / 0.979 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/0.4921, allocations: 210.7 kB / 0.9792 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005729/0.4979, allocations: 2.769 MB / 0.9819 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.4979, allocations: 16 kB / 0.982 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.4979, allocations: 4 kB / 0.982 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.4979, allocations: 11.97 kB / 0.982 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.5112, allocations: 5.877 MB / 0.9877 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.5112, allocations: 4 kB / 0.9877 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.5126, allocations: 239.6 kB / 0.9879 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/0.5148, allocations: 0.6712 MB / 0.9886 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.515, allocations: 35.94 kB / 0.9886 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3713/0.8863, allocations: 15.74 MB / 1.004 GB, free: 138 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.8863, allocations: 9.094 kB / 1.004 GB, free: 138 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005792/0.8921, allocations: 3.996 MB / 1.008 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.8931, allocations: 396.1 kB / 1.008 GB, free: 136.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.8934, allocations: 37.03 kB / 1.008 GB, free: 136.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.8944, allocations: 83.22 kB / 1.008 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.8947, allocations: 121.6 kB / 1.009 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.8948, allocations: 39.8 kB / 1.009 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001395/0.8962, allocations: 0.9944 MB / 1.01 GB, free: 136 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8962, allocations: 1.062 kB / 1.01 GB, free: 136 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002498/0.8987, allocations: 0.6844 MB / 1.01 GB, free: 136 MB / 0.7325 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.007663/0.9063, allocations: 4.587 MB / 1.015 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005477/0.9118, allocations: 3.387 MB / 1.018 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/0.9118, allocations: 1.406 kB / 1.018 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.915, allocations: 2.24 MB / 1.02 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.918, allocations: 0.6818 MB / 1.021 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.9462, allocations: 21.3 MB / 1.042 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.9484, allocations: 2.104 MB / 1.044 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001335/0.9497, allocations: 489.8 kB / 1.044 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.9508, allocations: 1.28 MB / 1.045 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.202e-06/0.9508, allocations: 0 / 1.045 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.063, allocations: 61.48 MB / 1.105 GB, free: 52.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.4, allocations: 4 kB / 1.105 GB, free: 52.8 MB / 0.7325 GB " [Timeout remaining time 645] (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: 19.02609283104539] Failed to read output from testmodel.py, exit status != 0: 14.551819967571646 14.57069113 14.242527254 Calling exit ...