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.001313/0.001313, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001462/0.001462, allocations: 215.9 kB / 23 MB, free: 4.969 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.014/1.014, allocations: 149.9 MB / 463.1 MB, free: 10.32 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="me",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="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.002919/0.002919, allocations: 68.73 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2222, allocations: 89.17 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02856/0.2508, allocations: 19.5 MB / 0.7472 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.2635, allocations: 6.473 MB / 0.7535 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.2656, allocations: 115.1 kB / 0.7536 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006647/0.2723, allocations: 2.247 MB / 0.7558 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.2764, allocations: 1.244 MB / 0.7571 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.2803, allocations: 1.278 MB / 0.7583 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3835/0.6638, allocations: 4.849 MB / 0.763 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0047/0.6685, allocations: 3.147 MB / 0.7661 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.6721, allocations: 2.159 MB / 0.7682 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004643/0.6768, allocations: 2.332 MB / 0.7705 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.6781, allocations: 429.1 kB / 0.7709 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.6812, allocations: 0.9461 MB / 0.7718 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002816/0.6841, allocations: 1.706 MB / 0.7735 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003302/0.6874, allocations: 1.55 MB / 0.775 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.6989, allocations: 6.569 MB / 0.7814 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.6989, allocations: 1.344 kB / 0.7814 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6989, allocations: 1.375 kB / 0.7814 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002718/0.6991, allocations: 0 / 0.7814 GB, free: 9.629 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.01441/0.7136, allocations: 3.465 MB / 0.7848 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.7136, allocations: 9.906 kB / 0.7848 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003069/0.7167, allocations: 457 kB / 0.7853 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005248/0.7219, allocations: 0.6547 MB / 0.7859 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006545/0.7285, allocations: 1.996 MB / 0.7878 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.7287, allocations: 221.5 kB / 0.7881 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.7306, allocations: 292.6 kB / 0.7883 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/0.7446, allocations: 5.245 MB / 0.7935 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.7447, allocations: 13.67 kB / 0.7935 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.7451, allocations: 130.6 kB / 0.7936 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004987/0.7456, allocations: 230.3 kB / 0.7938 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008203/0.7538, allocations: 3.746 MB / 0.7975 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.7793, allocations: 13.57 MB / 0.8107 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.7813, allocations: 1.236 MB / 0.8119 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.7828, allocations: 0.9828 MB / 0.8129 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/0.7828, allocations: 11.91 kB / 0.8129 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.7829, allocations: 43.06 kB / 0.8129 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 3.356e-06/0.7829, allocations: 0 / 0.8129 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=138): time 0.02489/0.8078, allocations: 8.442 MB / 0.8212 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.8078, allocations: 66.69 kB / 0.8213 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.8097, allocations: 1.156 MB / 0.8224 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.8099, allocations: 53.7 kB / 0.8224 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.8109, allocations: 1.33 MB / 0.8237 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005202/0.8114, allocations: 0.4998 MB / 0.8242 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005478/0.812, allocations: 291.5 kB / 0.8245 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8121, allocations: 305.1 kB / 0.8248 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.8135, allocations: 0.9135 MB / 0.8257 GB, free: 132 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.8153, allocations: 1.332 MB / 0.827 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.8187, allocations: 2.421 MB / 0.8293 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.8187, allocations: 4 kB / 0.8293 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006508/0.8252, allocations: 3.438 MB / 0.8327 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.8252, allocations: 12 kB / 0.8327 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.8252, allocations: 12 kB / 0.8327 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003405/0.8286, allocations: 1.174 MB / 0.8339 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.8297, allocations: 266.2 kB / 0.8341 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.8489, allocations: 13.34 MB / 0.8472 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.8506, allocations: 89.38 kB / 0.8472 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.8508, allocations: 64.12 kB / 0.8473 GB, free: 9.516 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.002433/0.8532, allocations: 1.115 MB / 0.8484 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.8537, allocations: 171 kB / 0.8486 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006275/0.86, allocations: 3.137 MB / 0.8516 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.86, allocations: 16 kB / 0.8516 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.86, allocations: 15.94 kB / 0.8516 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.86, allocations: 11.91 kB / 0.8517 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.8728, allocations: 5.902 MB / 0.8574 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.8729, allocations: 8.094 kB / 0.8574 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.8735, allocations: 151 kB / 0.8576 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/0.8765, allocations: 1.071 MB / 0.8586 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.8766, allocations: 24 kB / 0.8586 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/0.8951, allocations: 13.04 MB / 0.8714 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/0.8951, allocations: 7.469 kB / 0.8714 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/0.9011, allocations: 3.124 MB / 0.8744 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.9026, allocations: 354.8 kB / 0.8748 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.9028, allocations: 35.94 kB / 0.8748 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.9037, allocations: 83.89 kB / 0.8749 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004001/0.9041, allocations: 132.2 kB / 0.875 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/0.9042, allocations: 38.53 kB / 0.875 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001201/0.9054, allocations: 0.771 MB / 0.8758 GB, free: 12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9054, allocations: 0 / 0.8758 GB, free: 12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002491/0.9079, allocations: 0.6562 MB / 0.8764 GB, free: 11.34 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.005992/0.9139, allocations: 3.709 MB / 0.8801 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005527/0.9194, allocations: 3.003 MB / 0.883 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/0.9194, allocations: 4 kB / 0.883 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003227/0.9226, allocations: 1.893 MB / 0.8849 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/0.9252, allocations: 0.4995 MB / 0.8853 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03635/0.9615, allocations: 19.18 MB / 0.9041 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.9643, allocations: 1.769 MB / 0.9058 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00121/0.9655, allocations: 354.1 kB / 0.9061 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/0.9669, allocations: 1.003 MB / 0.9071 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of SimCode: time 1.282e-06/0.9669, allocations: 0 / 0.9071 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/1.09, allocations: 55.86 MB / 0.9617 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.44, allocations: 19.92 kB / 0.9617 GB, free: 4.27 MB / 0.7325 GB " [Timeout remaining time 645] (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: 18.544323703739792] Failed to read output from testmodel.py, exit status != 0: 14.590070646256208 14.615586179 13.911026711 Calling exit ...