Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.002185/0.002185, allocations: 109 kB / 20.48 MB, free: 1.477 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.002603/0.002603, allocations: 213.8 kB / 23.79 MB, free: 4.684 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.49/1.49, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.008/1.008, allocations: 150 MB / 464 MB, free: 10.46 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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.002096/0.002096, allocations: 61.86 kB / 0.6421 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2002, allocations: 89.17 MB / 0.7291 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.4244/0.6246, allocations: 36.8 MB / 0.7651 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.643, allocations: 10.33 MB / 0.7752 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004818/0.6478, allocations: 191.8 kB / 0.7753 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.6582, allocations: 3.985 MB / 0.7792 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00658/0.6648, allocations: 2.143 MB / 0.7813 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00608/0.6708, allocations: 2.033 MB / 0.7833 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01515/0.686, allocations: 7.977 MB / 0.7911 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.6986, allocations: 5.28 MB / 0.7962 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007863/0.7065, allocations: 3.464 MB / 0.7996 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008145/0.7146, allocations: 3.941 MB / 0.8035 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002917/0.7175, allocations: 0.68 MB / 0.8041 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005448/0.723, allocations: 1.47 MB / 0.8056 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004452/0.7274, allocations: 2.68 MB / 0.8082 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00704/0.7345, allocations: 3.103 MB / 0.8112 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01797/0.7524, allocations: 10.42 MB / 0.8214 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.7524, allocations: 0 / 0.8214 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7524, allocations: 5.625 kB / 0.8214 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004656/0.7529, allocations: 0 / 0.8214 GB, free: 9.414 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01831/0.7712, allocations: 5.463 MB / 0.8267 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.7713, allocations: 8.344 kB / 0.8267 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001277/0.7714, allocations: 128.5 kB / 0.8269 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/0.7731, allocations: 0.7059 MB / 0.8276 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005404/0.7785, allocations: 0.987 MB / 0.8285 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007413/0.7859, allocations: 3.138 MB / 0.8316 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.7862, allocations: 357.9 kB / 0.8319 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.7876, allocations: 468.3 kB / 0.8324 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.8064, allocations: 7.902 MB / 0.8401 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001769/0.8066, allocations: 23.77 kB / 0.8401 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/0.8082, allocations: 208 kB / 0.8403 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005915/0.8088, allocations: 373.1 kB / 0.8407 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.8218, allocations: 5.933 MB / 0.8465 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04221/0.864, allocations: 35.7 MB / 0.8813 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/0.8674, allocations: 1.984 MB / 0.8833 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.8694, allocations: 1.336 MB / 0.8846 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/0.8695, allocations: 21.25 kB / 0.8846 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.8695, allocations: 51.88 kB / 0.8846 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=157): time 3.597e-06/0.8695, allocations: 4 kB / 0.8846 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=160): time 0.01438/0.8839, allocations: 6.661 MB / 0.8911 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.884, allocations: 72.72 kB / 0.8912 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.8867, allocations: 1.864 MB / 0.893 GB, free: 14.94 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.8869, allocations: 53.7 kB / 0.8931 GB, free: 14.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/0.8886, allocations: 2.196 MB / 0.8952 GB, free: 12.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007603/0.8894, allocations: 0.5848 MB / 0.8958 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008302/0.8902, allocations: 404 kB / 0.8962 GB, free: 11.67 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.8904, allocations: 305.1 kB / 0.8965 GB, free: 11.37 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.8923, allocations: 1.062 MB / 0.8975 GB, free: 10.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.8948, allocations: 1.762 MB / 0.8992 GB, free: 8.227 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004606/0.8994, allocations: 3.055 MB / 0.9022 GB, free: 4.867 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/0.8994, allocations: 7.938 kB / 0.9022 GB, free: 4.859 MB / 0.67 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007423/0.9069, allocations: 3.901 MB / 0.906 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.9069, allocations: 20.03 kB / 0.9061 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.9069, allocations: 24.88 kB / 0.9061 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.9096, allocations: 0.9311 MB / 0.907 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.9113, allocations: 427.2 kB / 0.9074 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02283/0.9341, allocations: 21.55 MB / 0.9284 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.9365, allocations: 119.9 kB / 0.9286 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/0.9369, allocations: 95.94 kB / 0.9286 GB, free: 8.352 MB / 0.7012 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.003574/0.9405, allocations: 1.649 MB / 0.9303 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007008/0.9412, allocations: 266.4 kB / 0.9305 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006321/0.9475, allocations: 3.228 MB / 0.9337 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.9475, allocations: 16 kB / 0.9337 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/0.9476, allocations: 12 kB / 0.9337 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.9476, allocations: 7.969 kB / 0.9337 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.9626, allocations: 7.508 MB / 0.941 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.9626, allocations: 4 kB / 0.941 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.9637, allocations: 219.6 kB / 0.9412 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/0.9665, allocations: 0.8877 MB / 0.9421 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.9667, allocations: 36 kB / 0.9421 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/0.9901, allocations: 21.52 MB / 0.9632 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9901, allocations: 7.938 kB / 0.9632 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006511/0.9966, allocations: 3.361 MB / 0.9665 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.998, allocations: 480.9 kB / 0.9669 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006242/0.9987, allocations: 51.81 kB / 0.967 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1, allocations: 87.89 kB / 0.967 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/1.001, allocations: 148.9 kB / 0.9672 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.001, allocations: 48 kB / 0.9672 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002059/1.003, allocations: 1.225 MB / 0.9684 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.1e-08/1.003, allocations: 0 / 0.9684 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003335/1.006, allocations: 0.9062 MB / 0.9693 GB, free: 12.96 MB / 0.7481 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006263/1.012, allocations: 3.965 MB / 0.9732 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007332/1.02, allocations: 4.287 MB / 0.9774 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.02, allocations: 4 kB / 0.9774 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/1.025, allocations: 2.906 MB / 0.9802 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004715/1.029, allocations: 0.8362 MB / 0.981 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05201/1.081, allocations: 25.24 MB / 1.006 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005548/1.087, allocations: 3.205 MB / 1.009 GB, free: 3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001926/1.089, allocations: 0.5293 MB / 1.009 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002441/1.091, allocations: 1.655 MB / 1.011 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of SimCode: time 1.232e-06/1.091, allocations: 4 kB / 1.011 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1933/1.284, allocations: 72.6 MB / 1.082 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/18.2, allocations: 7.375 kB / 1.082 GB, free: 8.965 MB / 0.8575 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.030567103007343] Failed to read output from testmodel.py, exit status != 0: 18.40948120097164 18.736500777 17.980694431 Calling exit ...