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.001402/0.001402, allocations: 93.91 kB / 20.48 MB, free: 1.359 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.001464/0.001464, allocations: 215.1 kB / 23.78 MB, free: 4.516 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.523/1.523, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.9596/0.9596, allocations: 150 MB / 464 MB, free: 10.2 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.002127/0.002127, allocations: 62.59 kB / 0.642 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1725, allocations: 89.18 MB / 0.7291 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0265/0.199, allocations: 19.47 MB / 0.7481 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.2118, allocations: 6.45 MB / 0.7544 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.2138, allocations: 115.1 kB / 0.7545 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006953/0.2208, allocations: 2.244 MB / 0.7567 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.2247, allocations: 1.244 MB / 0.7579 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.2289, allocations: 1.286 MB / 0.7591 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3846/0.6135, allocations: 4.845 MB / 0.7639 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004949/0.6185, allocations: 3.17 MB / 0.767 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00396/0.6224, allocations: 2.168 MB / 0.7691 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00526/0.6277, allocations: 2.475 MB / 0.7715 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001983/0.6297, allocations: 430 kB / 0.7719 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.6335, allocations: 0.9445 MB / 0.7728 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00383/0.6374, allocations: 1.706 MB / 0.7745 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007154/0.6445, allocations: 1.552 MB / 0.776 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.6585, allocations: 6.573 MB / 0.7824 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6585, allocations: 1.406 kB / 0.7824 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6585, allocations: 2.75 kB / 0.7824 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002905/0.6588, allocations: 0 / 0.7824 GB, free: 9.648 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.01486/0.6736, allocations: 3.461 MB / 0.7858 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6737, allocations: 10.22 kB / 0.7858 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001363/0.6738, allocations: 83.75 kB / 0.7859 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001461/0.6753, allocations: 457.6 kB / 0.7864 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/0.6796, allocations: 0.6514 MB / 0.787 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/0.6844, allocations: 1.992 MB / 0.7889 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.6846, allocations: 225.2 kB / 0.7891 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.6857, allocations: 289.5 kB / 0.7894 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.6966, allocations: 5.248 MB / 0.7946 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.6967, allocations: 18.98 kB / 0.7946 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004354/0.6972, allocations: 128.8 kB / 0.7947 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004503/0.6976, allocations: 229 kB / 0.7949 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007171/0.7048, allocations: 3.757 MB / 0.7986 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0253/0.7301, allocations: 13.57 MB / 0.8118 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.7325, allocations: 1.228 MB / 0.813 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.7339, allocations: 0.9863 MB / 0.814 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/0.734, allocations: 11.72 kB / 0.814 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.7341, allocations: 49.58 kB / 0.814 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 3.256e-06/0.7341, allocations: 0 / 0.814 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=138): time 0.02605/0.7601, allocations: 8.435 MB / 0.8223 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.7602, allocations: 68.72 kB / 0.8224 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.7619, allocations: 1.138 MB / 0.8235 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.7621, allocations: 45.7 kB / 0.8235 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.7631, allocations: 1.336 MB / 0.8248 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005065/0.7636, allocations: 0.4959 MB / 0.8253 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005475/0.7642, allocations: 287.5 kB / 0.8256 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7643, allocations: 309.1 kB / 0.8259 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.7657, allocations: 0.917 MB / 0.8268 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.7675, allocations: 1.321 MB / 0.828 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/0.771, allocations: 2.425 MB / 0.8304 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.771, allocations: 7.188 kB / 0.8304 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006717/0.7777, allocations: 3.435 MB / 0.8338 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.7778, allocations: 8 kB / 0.8338 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.7778, allocations: 13.33 kB / 0.8338 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/0.7814, allocations: 1.182 MB / 0.835 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.7825, allocations: 263.6 kB / 0.8352 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/0.8022, allocations: 13.35 MB / 0.8482 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.8039, allocations: 87.97 kB / 0.8483 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.8041, allocations: 67.98 kB / 0.8484 GB, free: 9.059 MB / 0.6231 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.002701/0.8068, allocations: 1.117 MB / 0.8495 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/0.8073, allocations: 167 kB / 0.8496 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/0.8136, allocations: 3.131 MB / 0.8527 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.8136, allocations: 12 kB / 0.8527 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/0.8136, allocations: 19.69 kB / 0.8527 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.8137, allocations: 7.969 kB / 0.8527 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.8257, allocations: 5.909 MB / 0.8585 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.8258, allocations: 8.062 kB / 0.8585 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.8265, allocations: 147 kB / 0.8587 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003281/0.8297, allocations: 1.07 MB / 0.8597 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002277/0.83, allocations: 28 kB / 0.8597 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/0.8491, allocations: 13.05 MB / 0.8725 GB, free: 100 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.8491, allocations: 11.47 kB / 0.8725 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006189/0.8553, allocations: 3.114 MB / 0.8755 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.8566, allocations: 354.8 kB / 0.8759 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/0.8569, allocations: 31.94 kB / 0.8759 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/0.8579, allocations: 83.89 kB / 0.876 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/0.8583, allocations: 135.5 kB / 0.8761 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.8584, allocations: 40 kB / 0.8761 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001229/0.8596, allocations: 0.7671 MB / 0.8769 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.8596, allocations: 0 / 0.8769 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002676/0.8623, allocations: 0.6562 MB / 0.8775 GB, free: 10.89 MB / 0.6544 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.006415/0.8687, allocations: 3.719 MB / 0.8812 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005545/0.8743, allocations: 3.002 MB / 0.8841 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.8743, allocations: 0 / 0.8841 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.8776, allocations: 1.896 MB / 0.8859 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.8802, allocations: 0.5033 MB / 0.8864 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/0.9172, allocations: 19.17 MB / 0.9052 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002959/0.9202, allocations: 1.773 MB / 0.9069 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001254/0.9214, allocations: 354.1 kB / 0.9072 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/0.923, allocations: 1.007 MB / 0.9082 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of SimCode: time 1.322e-06/0.923, allocations: 0 / 0.9082 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/1.037, allocations: 56.11 MB / 0.963 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.89, allocations: 19.91 kB / 0.963 GB, free: 3.547 MB / 0.7325 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.196855543996207] Failed to read output from testmodel.py, exit status != 0: 16.087717283982784 16.115844939 15.452538475 Calling exit ...