Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001368/0.001368, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.001542/0.001542, allocations: 213.7 kB / 23.79 MB, free: 4.68 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.494/1.494, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.005/1.005, allocations: 150 MB / 464 MB, free: 10.54 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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.002097/0.002097, allocations: 57.28 kB / 0.6421 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1985, allocations: 89.16 MB / 0.7291 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4219/0.6203, allocations: 39.77 MB / 0.768 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.6394, allocations: 11.44 MB / 0.7791 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004249/0.6436, allocations: 199.9 kB / 0.7793 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01188/0.6555, allocations: 4.564 MB / 0.7838 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.6661, allocations: 2.332 MB / 0.7861 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008653/0.6747, allocations: 2.25 MB / 0.7883 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01627/0.691, allocations: 9.286 MB / 0.7973 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01346/0.7044, allocations: 6.403 MB / 0.8036 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008218/0.7127, allocations: 4.101 MB / 0.8076 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009645/0.7223, allocations: 4.758 MB / 0.8122 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004149/0.7265, allocations: 0.8226 MB / 0.813 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007433/0.7339, allocations: 1.612 MB / 0.8146 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00807/0.742, allocations: 3.233 MB / 0.8178 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01091/0.7529, allocations: 3.65 MB / 0.8213 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.7713, allocations: 12.35 MB / 0.8334 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.7713, allocations: 4 kB / 0.8334 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7713, allocations: 0 / 0.8334 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003955/0.7717, allocations: 0 / 0.8334 GB, free: 15.9 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0183/0.79, allocations: 6.395 MB / 0.8396 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.79, allocations: 12.03 kB / 0.8397 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000172/0.7902, allocations: 160.1 kB / 0.8398 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002419/0.7926, allocations: 0.8294 MB / 0.8406 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/0.7986, allocations: 1.09 MB / 0.8417 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008065/0.8066, allocations: 3.576 MB / 0.8452 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/0.807, allocations: 430.4 kB / 0.8456 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.8086, allocations: 0.5355 MB / 0.8461 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.8297, allocations: 9.38 MB / 0.8553 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.8299, allocations: 23.77 kB / 0.8553 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.8312, allocations: 252 kB / 0.8555 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006746/0.8319, allocations: 422.9 kB / 0.8559 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/0.8479, allocations: 7.12 MB / 0.8629 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05043/0.8983, allocations: 40.7 MB / 0.9026 GB, free: 4.785 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004917/0.9032, allocations: 2.913 MB / 0.9055 GB, free: 1.863 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003129/0.9064, allocations: 1.934 MB / 0.9074 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.9065, allocations: 22 kB / 0.9074 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.9065, allocations: 64.56 kB / 0.9074 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=209): time 3.586e-06/0.9065, allocations: 0 / 0.9074 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=212): time 0.02597/0.9325, allocations: 10.28 MB / 0.9175 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.9326, allocations: 77.41 kB / 0.9176 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/0.9356, allocations: 2.01 MB / 0.9195 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/0.936, allocations: 65.7 kB / 0.9196 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001828/0.9378, allocations: 2.47 MB / 0.922 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008404/0.9386, allocations: 0.7669 MB / 0.9227 GB, free: 96 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008164/0.9395, allocations: 481.5 kB / 0.9232 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9396, allocations: 301.1 kB / 0.9235 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.9418, allocations: 1.376 MB / 0.9248 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.9447, allocations: 2.108 MB / 0.9269 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/0.95, allocations: 3.766 MB / 0.9306 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.95, allocations: 12 kB / 0.9306 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009184/0.9592, allocations: 5.027 MB / 0.9355 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.9593, allocations: 16 kB / 0.9355 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.9593, allocations: 24 kB / 0.9355 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003925/0.9632, allocations: 1.578 MB / 0.9371 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.9652, allocations: 455.2 kB / 0.9375 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02613/0.9913, allocations: 18.18 MB / 0.9553 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.9937, allocations: 147.8 kB / 0.9554 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/0.994, allocations: 112 kB / 0.9555 GB, free: 13.42 MB / 0.7325 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003276/0.9973, allocations: 1.941 MB / 0.9574 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006303/0.9979, allocations: 302.2 kB / 0.9577 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008106/1.006, allocations: 4.396 MB / 0.962 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/1.006, allocations: 23.94 kB / 0.962 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/1.006, allocations: 16 kB / 0.962 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/1.006, allocations: 19.89 kB / 0.962 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.023, allocations: 9.605 MB / 0.9714 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.023, allocations: 4 kB / 0.9714 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.024, allocations: 232.2 kB / 0.9716 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/1.028, allocations: 1.427 MB / 0.973 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/1.028, allocations: 40 kB / 0.9731 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02558/1.054, allocations: 18.19 MB / 0.9908 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.054, allocations: 11.94 kB / 0.9908 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008394/1.062, allocations: 4.495 MB / 0.9952 GB, free: 3.996 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/1.064, allocations: 0.5762 MB / 0.9958 GB, free: 3.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/1.064, allocations: 43.98 kB / 0.9958 GB, free: 3.375 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.066, allocations: 119.9 kB / 0.996 GB, free: 3.258 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005165/1.066, allocations: 193.4 kB / 0.9961 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.066, allocations: 52 kB / 0.9962 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002023/1.069, allocations: 1.323 MB / 0.9975 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.069, allocations: 0 / 0.9975 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003975/1.072, allocations: 1.145 MB / 0.9986 GB, free: 0.5391 MB / 0.7637 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008616/1.081, allocations: 5.114 MB / 1.004 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008297/1.089, allocations: 4.536 MB / 1.008 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.089, allocations: 4 kB / 1.008 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00514/1.095, allocations: 2.8 MB / 1.011 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.099, allocations: 0.8997 MB / 1.012 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05471/1.153, allocations: 30.57 MB / 1.041 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00482/1.158, allocations: 3.694 MB / 1.045 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001929/1.16, allocations: 0.5556 MB / 1.046 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002687/1.163, allocations: 1.952 MB / 1.048 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of SimCode: time 1.743e-06/1.163, allocations: 0 / 1.048 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5287/1.691, allocations: 88.21 MB / 1.134 GB, free: 253.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.69/19.39, allocations: 11.08 kB / 1.134 GB, free: 253.2 MB / 0.8419 GB " [Timeout remaining time 640] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.994426169025246] Failed to read output from testmodel.py, exit status != 0: 19.604304712964222 19.616686156 18.842488227 Calling exit ...