Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00134/0.00134, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001498/0.001498, allocations: 215.8 kB / 22.99 MB, free: 4.977 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.476/1.476, allocations: 230.6 MB / 256.8 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 0.9833/0.9833, allocations: 149.9 MB / 463 MB, free: 10.37 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",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.002142/0.002142, allocations: 73.14 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1892, allocations: 89.17 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01984/0.2091, allocations: 13.92 MB / 0.7418 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.2262, allocations: 9.964 MB / 0.7515 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.2281, allocations: 87.25 kB / 0.7516 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.2332, allocations: 1.687 MB / 0.7532 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.24, allocations: 1.868 MB / 0.755 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.2427, allocations: 0.754 MB / 0.7558 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005284/0.248, allocations: 2.76 MB / 0.7585 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002774/0.2508, allocations: 1.184 MB / 0.7596 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3875/0.6383, allocations: 1.722 MB / 0.7613 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.6403, allocations: 1.037 MB / 0.7623 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.6407, allocations: 158.1 kB / 0.7625 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.6422, allocations: 0.7182 MB / 0.7632 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.6427, allocations: 0.6155 MB / 0.7638 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000866/0.6435, allocations: 0.769 MB / 0.7645 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004495/0.648, allocations: 2.77 MB / 0.7672 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.648, allocations: 0 / 0.7672 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.796e-06/0.648, allocations: 0 / 0.7672 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001225/0.6482, allocations: 1.281 kB / 0.7672 GB, free: 11.14 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005482/0.6537, allocations: 2.146 MB / 0.7693 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.6537, allocations: 11.19 kB / 0.7693 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003533/0.6541, allocations: 192.3 kB / 0.7695 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.6663, allocations: 2.113 MB / 0.7716 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.6694, allocations: 1.197 MB / 0.7728 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/0.6694, allocations: 91.78 kB / 0.7728 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.6697, allocations: 120.1 kB / 0.773 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006528/0.6763, allocations: 2.879 MB / 0.7758 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.69e-05/0.6763, allocations: 8.438 kB / 0.7758 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.6765, allocations: 54.11 kB / 0.7758 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008501/0.6774, allocations: 194.7 kB / 0.776 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009033/0.6864, allocations: 2.788 MB / 0.7787 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.7012, allocations: 8.329 MB / 0.7869 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/0.708, allocations: 2.178 MB / 0.789 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003309/0.7113, allocations: 1.193 MB / 0.7902 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.7114, allocations: 12.38 kB / 0.7902 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.7115, allocations: 47.78 kB / 0.7902 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 3.787e-06/0.7115, allocations: 0 / 0.7902 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=153): time 0.05876/0.7702, allocations: 16 MB / 0.8059 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.7703, allocations: 69.06 kB / 0.8059 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.7721, allocations: 1.183 MB / 0.8071 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002892/0.7724, allocations: 57.23 kB / 0.8071 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006394/0.773, allocations: 0.7574 MB / 0.8079 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006293/0.7736, allocations: 0.5424 MB / 0.8084 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005596/0.7742, allocations: 292.1 kB / 0.8087 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7743, allocations: 307.7 kB / 0.809 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003596/0.7779, allocations: 1.505 MB / 0.8104 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/0.7818, allocations: 1.784 MB / 0.8122 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007914/0.7897, allocations: 3.368 MB / 0.8155 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.7897, allocations: 0.5625 kB / 0.8155 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01521/0.8049, allocations: 5.214 MB / 0.8206 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.805, allocations: 8 kB / 0.8206 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.805, allocations: 8 kB / 0.8206 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007276/0.8123, allocations: 1.875 MB / 0.8224 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.8144, allocations: 418 kB / 0.8228 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03286/0.8473, allocations: 23.06 MB / 0.8453 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/0.8502, allocations: 307.6 kB / 0.8456 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/0.8505, allocations: 64.95 kB / 0.8457 GB, free: 10.15 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.8515, allocations: 472 kB / 0.8461 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/0.8519, allocations: 182.9 kB / 0.8463 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.8668, allocations: 5.245 MB / 0.8514 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.8668, allocations: 16 kB / 0.8514 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.763e-05/0.8668, allocations: 20 kB / 0.8515 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.8669, allocations: 11.91 kB / 0.8515 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.8859, allocations: 6.972 MB / 0.8583 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.8859, allocations: 4.344 kB / 0.8583 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.8878, allocations: 355.4 kB / 0.8586 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006438/0.8942, allocations: 1.7 MB / 0.8603 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/0.8945, allocations: 44.48 kB / 0.8603 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03134/0.9258, allocations: 22.23 MB / 0.882 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.9258, allocations: 2.812 kB / 0.882 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.9395, allocations: 4.824 MB / 0.8868 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/0.9412, allocations: 430.5 kB / 0.8872 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/0.9415, allocations: 24 kB / 0.8872 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/0.9439, allocations: 319.5 kB / 0.8875 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005279/0.9444, allocations: 162.3 kB / 0.8876 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.9445, allocations: 55.97 kB / 0.8877 GB, free: 14.35 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001188/0.9457, allocations: 0.7899 MB / 0.8885 GB, free: 13.56 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.9457, allocations: 0 / 0.8885 GB, free: 13.56 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002193/0.9479, allocations: 0.664 MB / 0.8891 GB, free: 12.89 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01344/0.9614, allocations: 5.403 MB / 0.8944 GB, free: 7.473 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01231/0.9737, allocations: 4.923 MB / 0.8992 GB, free: 2.488 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.9737, allocations: 0 / 0.8992 GB, free: 2.488 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007789/0.9815, allocations: 3.272 MB / 0.9024 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.9844, allocations: 0.5635 MB / 0.9029 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05136/1.036, allocations: 21.78 MB / 0.9242 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.037, allocations: 0.9804 MB / 0.9252 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001707/1.039, allocations: 388.9 kB / 0.9255 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.04, allocations: 0.6554 MB / 0.9262 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of SimCode: time 1.203e-06/1.04, allocations: 3.375 kB / 0.9262 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1416/1.181, allocations: 63.83 MB / 0.9885 GB, free: 7.629 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.08, allocations: 4.062 kB / 0.9885 GB, free: 7.625 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.972131554968655] Failed to read output from testmodel.py, exit status != 0: 15.23280076496303 15.260436096 14.606980842 Calling exit ...