Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001323/0.001323, allocations: 105 kB / 20.48 MB, free: 1.488 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.001587/0.001587, allocations: 215.9 kB / 23.79 MB, free: 4.703 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.475/1.475, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.967/0.967, allocations: 150 MB / 464 MB, free: 10.48 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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.002026/0.002026, allocations: 59.09 kB / 0.6421 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1736, allocations: 89.18 MB / 0.7291 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02644/0.2001, allocations: 21.2 MB / 0.7498 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.2123, allocations: 6.714 MB / 0.7564 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.2142, allocations: 111.2 kB / 0.7565 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006398/0.2206, allocations: 2.347 MB / 0.7588 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.2256, allocations: 1.236 MB / 0.76 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.2295, allocations: 1.325 MB / 0.7613 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3918/0.6212, allocations: 4.846 MB / 0.766 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005447/0.6267, allocations: 3.176 MB / 0.7691 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.6315, allocations: 2.152 MB / 0.7712 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006333/0.6379, allocations: 2.47 MB / 0.7736 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002329/0.6402, allocations: 429.8 kB / 0.7741 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004578/0.6448, allocations: 1.023 MB / 0.7751 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004572/0.6494, allocations: 1.709 MB / 0.7767 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006194/0.6556, allocations: 1.912 MB / 0.7786 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.6675, allocations: 6.539 MB / 0.785 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6675, allocations: 0.625 kB / 0.785 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6675, allocations: 0.5 kB / 0.785 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001958/0.6677, allocations: 3.656 kB / 0.785 GB, free: 9.922 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01076/0.6785, allocations: 3.468 MB / 0.7884 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6785, allocations: 8.969 kB / 0.7884 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001459/0.6787, allocations: 80.66 kB / 0.7885 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/0.6797, allocations: 455.7 kB / 0.7889 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.6837, allocations: 0.655 MB / 0.7895 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005085/0.6888, allocations: 1.995 MB / 0.7915 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.689, allocations: 219.5 kB / 0.7917 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009901/0.6899, allocations: 296.6 kB / 0.792 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009797/0.6997, allocations: 4.888 MB / 0.7967 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.6998, allocations: 15.97 kB / 0.7968 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003711/0.7002, allocations: 133.2 kB / 0.7969 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004387/0.7007, allocations: 230.4 kB / 0.7971 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007923/0.7086, allocations: 3.75 MB / 0.8008 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02822/0.7368, allocations: 21.23 MB / 0.8215 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.7388, allocations: 1.236 MB / 0.8227 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.7402, allocations: 0.987 MB / 0.8237 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.87e-05/0.7402, allocations: 11.22 kB / 0.8237 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.7403, allocations: 43.03 kB / 0.8237 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 2.775e-06/0.7403, allocations: 0 / 0.8237 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02633/0.7666, allocations: 8.444 MB / 0.832 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.7667, allocations: 64.72 kB / 0.832 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.7686, allocations: 1.133 MB / 0.8331 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.7688, allocations: 53.7 kB / 0.8332 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.7698, allocations: 1.332 MB / 0.8345 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005872/0.7704, allocations: 0.4885 MB / 0.835 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000615/0.771, allocations: 299.5 kB / 0.8353 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7712, allocations: 305.1 kB / 0.8355 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.7726, allocations: 0.9135 MB / 0.8364 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.7745, allocations: 1.325 MB / 0.8377 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/0.778, allocations: 2.421 MB / 0.8401 GB, free: 240 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.778, allocations: 8 kB / 0.8401 GB, free: 232 kB / 0.6075 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006843/0.7849, allocations: 3.437 MB / 0.8435 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.7849, allocations: 8 kB / 0.8435 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.7849, allocations: 12.91 kB / 0.8435 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/0.7884, allocations: 1.186 MB / 0.8446 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.7895, allocations: 253.9 kB / 0.8449 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/0.8095, allocations: 13.55 MB / 0.8581 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.8112, allocations: 91.97 kB / 0.8582 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/0.8115, allocations: 64 kB / 0.8583 GB, free: 13.45 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002505/0.814, allocations: 1.114 MB / 0.8593 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.8145, allocations: 171 kB / 0.8595 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006509/0.8211, allocations: 3.128 MB / 0.8626 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.8211, allocations: 19.98 kB / 0.8626 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.402e-05/0.8211, allocations: 16 kB / 0.8626 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.8211, allocations: 7.922 kB / 0.8626 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.8352, allocations: 6.192 MB / 0.8686 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.8352, allocations: 5.875 kB / 0.8687 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/0.8359, allocations: 147.8 kB / 0.8688 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003252/0.8391, allocations: 1.076 MB / 0.8698 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.8393, allocations: 24 kB / 0.8699 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/0.8597, allocations: 13.24 MB / 0.8828 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.8597, allocations: 4 kB / 0.8828 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/0.866, allocations: 3.12 MB / 0.8858 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.8671, allocations: 358.8 kB / 0.8862 GB, free: 360 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/0.8676, allocations: 31.94 kB / 0.8862 GB, free: 328 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.8689, allocations: 83.89 kB / 0.8863 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004425/0.8693, allocations: 132.6 kB / 0.8864 GB, free: 112 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.8694, allocations: 40 kB / 0.8865 GB, free: 72 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001659/0.8711, allocations: 0.7671 MB / 0.8872 GB, free: 15.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8711, allocations: 0 / 0.8872 GB, free: 15.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003441/0.8745, allocations: 0.6562 MB / 0.8879 GB, free: 14.64 MB / 0.67 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007088/0.8816, allocations: 3.719 MB / 0.8915 GB, free: 10.83 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006379/0.888, allocations: 3.004 MB / 0.8944 GB, free: 7.812 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.888, allocations: 0.75 kB / 0.8944 GB, free: 7.812 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003757/0.8918, allocations: 1.896 MB / 0.8963 GB, free: 5.887 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/0.8958, allocations: 0.4977 MB / 0.8968 GB, free: 5.426 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04112/0.937, allocations: 19.19 MB / 0.9155 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00427/0.9412, allocations: 2.336 MB / 0.9178 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001357/0.9426, allocations: 346.1 kB / 0.9181 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/0.9444, allocations: 1.011 MB / 0.9191 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of SimCode: time 1.353e-06/0.9444, allocations: 0 / 0.9191 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.064, allocations: 54.18 MB / 0.972 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.83, allocations: 4.062 kB / 0.972 GB, free: 8.363 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.077860498044174] Failed to read output from testmodel.py, exit status != 0: 16.02488183398964 16.044258923 15.372141397 Calling exit ...