Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001331/0.001331, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001531/0.001531, allocations: 217 kB / 23.78 MB, free: 4.523 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.019/1.019, allocations: 150 MB / 464 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00326/0.00326, allocations: 61.59 kB / 0.642 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2029, allocations: 89.17 MB / 0.7291 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03414/0.237, allocations: 25.52 MB / 0.754 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3636/0.6006, allocations: 8.057 MB / 0.7618 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.6033, allocations: 155.5 kB / 0.762 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.6103, allocations: 2.762 MB / 0.7647 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00618/0.6165, allocations: 1.673 MB / 0.7663 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005202/0.6217, allocations: 1.689 MB / 0.768 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009375/0.6311, allocations: 6.134 MB / 0.774 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009413/0.6405, allocations: 3.782 MB / 0.7777 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006712/0.6472, allocations: 2.667 MB / 0.7803 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007678/0.6549, allocations: 3.002 MB / 0.7832 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002696/0.6576, allocations: 0.5125 MB / 0.7837 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005023/0.6626, allocations: 1.204 MB / 0.7849 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0048/0.6674, allocations: 2.106 MB / 0.7869 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006339/0.6737, allocations: 1.927 MB / 0.7888 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.6864, allocations: 8.117 MB / 0.7967 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6864, allocations: 0 / 0.7967 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6864, allocations: 0 / 0.7967 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000276/0.6867, allocations: 3.938 kB / 0.7967 GB, free: 5.121 MB / 0.5762 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.01642/0.7031, allocations: 4.254 MB / 0.8009 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.7031, allocations: 10.47 kB / 0.8009 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002488/0.7034, allocations: 98.66 kB / 0.801 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002773/0.7062, allocations: 0.5376 MB / 0.8015 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006887/0.713, allocations: 0.8244 MB / 0.8023 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007043/0.7201, allocations: 2.535 MB / 0.8048 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.7204, allocations: 271 kB / 0.8051 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/0.7223, allocations: 386.3 kB / 0.8054 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/0.7402, allocations: 6.445 MB / 0.8117 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/0.7404, allocations: 16.38 kB / 0.8117 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/0.742, allocations: 156.1 kB / 0.8119 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006893/0.7427, allocations: 281 kB / 0.8122 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.7539, allocations: 4.52 MB / 0.8166 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.787, allocations: 18 MB / 0.8341 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.7891, allocations: 1.052 MB / 0.8352 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.7907, allocations: 0.9589 MB / 0.8361 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.214e-05/0.7908, allocations: 14.08 kB / 0.8361 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/0.7909, allocations: 43.56 kB / 0.8362 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.487e-06/0.7909, allocations: 4 kB / 0.8362 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.02408/0.815, allocations: 9.109 MB / 0.8451 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.815, allocations: 64.72 kB / 0.8451 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.8175, allocations: 1.498 MB / 0.8466 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.8176, allocations: 49.7 kB / 0.8466 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.8191, allocations: 1.722 MB / 0.8483 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.8196, allocations: 485.7 kB / 0.8488 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006376/0.8203, allocations: 335.4 kB / 0.8491 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8204, allocations: 309.1 kB / 0.8494 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.822, allocations: 0.9096 MB / 0.8503 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.824, allocations: 1.465 MB / 0.8517 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.8278, allocations: 2.546 MB / 0.8542 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.8278, allocations: 8 kB / 0.8542 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006436/0.8342, allocations: 3.275 MB / 0.8574 GB, free: 4 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.8343, allocations: 13.05 kB / 0.8574 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.8343, allocations: 19.98 kB / 0.8574 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/0.8368, allocations: 0.7381 MB / 0.8582 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.8385, allocations: 387.3 kB / 0.8585 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/0.8568, allocations: 16.03 MB / 0.8742 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.8589, allocations: 103.9 kB / 0.8743 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.8591, allocations: 72 kB / 0.8743 GB, free: 13.6 MB / 0.6544 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.002859/0.862, allocations: 1.319 MB / 0.8756 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.8625, allocations: 206.7 kB / 0.8758 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005534/0.868, allocations: 2.765 MB / 0.8785 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.868, allocations: 12 kB / 0.8785 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.8681, allocations: 8 kB / 0.8786 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.8681, allocations: 11.91 kB / 0.8786 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.8797, allocations: 5.883 MB / 0.8843 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.8797, allocations: 8 kB / 0.8843 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.881, allocations: 235.6 kB / 0.8845 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/0.8833, allocations: 0.6695 MB / 0.8852 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.8834, allocations: 36.06 kB / 0.8852 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/0.9007, allocations: 15.76 MB / 0.9006 GB, free: 1.469 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.9007, allocations: 7.938 kB / 0.9006 GB, free: 1.461 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007413/0.9081, allocations: 3.99 MB / 0.9045 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.9095, allocations: 390.6 kB / 0.9049 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.9098, allocations: 35.94 kB / 0.9049 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009622/0.9107, allocations: 83.89 kB / 0.905 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/0.9111, allocations: 120.6 kB / 0.9051 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.9112, allocations: 40 kB / 0.9052 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001613/0.9128, allocations: 0.9942 MB / 0.9061 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9128, allocations: 0 / 0.9061 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002975/0.9158, allocations: 0.6875 MB / 0.9068 GB, free: 11.04 MB / 0.6856 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.007314/0.9231, allocations: 4.597 MB / 0.9113 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005721/0.9288, allocations: 3.384 MB / 0.9146 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.9288, allocations: 4 kB / 0.9146 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003504/0.9323, allocations: 2.24 MB / 0.9168 GB, free: 500 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.9354, allocations: 0.6863 MB / 0.9175 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/0.9728, allocations: 21.3 MB / 0.9383 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/0.9758, allocations: 2.109 MB / 0.9403 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00158/0.9774, allocations: 481.4 kB / 0.9408 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/0.9792, allocations: 1.284 MB / 0.942 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of SimCode: time 1.011e-06/0.9792, allocations: 0 / 0.942 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/1.114, allocations: 61.61 MB / 1.002 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.88, allocations: 7.672 kB / 1.002 GB, free: 9.031 MB / 0.7794 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.205377798061818] Failed to read output from testmodel.py, exit status != 0: 17.08152995898854 17.111987633 16.41929504 Calling exit ...