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.001466/0.001466, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001582/0.001582, allocations: 221.6 kB / 23.01 MB, free: 5 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.9684/0.9684, allocations: 150 MB / 463.2 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_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",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="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.002006/0.002006, allocations: 67.02 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1855, allocations: 89.17 MB / 0.7284 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4729/0.6583, allocations: 39.77 MB / 0.7672 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.678, allocations: 11.45 MB / 0.7784 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004283/0.6823, allocations: 203.4 kB / 0.7786 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01256/0.6948, allocations: 4.562 MB / 0.783 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007968/0.7028, allocations: 2.328 MB / 0.7853 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006999/0.7098, allocations: 2.243 MB / 0.7875 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01273/0.7225, allocations: 9.281 MB / 0.7966 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.735, allocations: 6.416 MB / 0.8028 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008307/0.7433, allocations: 4.101 MB / 0.8068 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008775/0.7521, allocations: 4.75 MB / 0.8115 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002843/0.7549, allocations: 0.8292 MB / 0.8123 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006135/0.761, allocations: 1.613 MB / 0.8139 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006483/0.7675, allocations: 3.223 MB / 0.817 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009496/0.777, allocations: 3.652 MB / 0.8206 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.7949, allocations: 12.35 MB / 0.8326 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.7949, allocations: 8 kB / 0.8326 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7949, allocations: 0 / 0.8326 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003621/0.7952, allocations: 0 / 0.8326 GB, free: 15.89 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.01713/0.8124, allocations: 6.397 MB / 0.8389 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.8124, allocations: 12.03 kB / 0.8389 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002224/0.8146, allocations: 0.8255 MB / 0.8397 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/0.8204, allocations: 1.094 MB / 0.8408 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00907/0.8295, allocations: 3.576 MB / 0.8443 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/0.8299, allocations: 428.2 kB / 0.8447 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/0.8318, allocations: 0.5394 MB / 0.8452 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.855, allocations: 9.377 MB / 0.8544 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/0.8552, allocations: 23.77 kB / 0.8544 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001493/0.8567, allocations: 248 kB / 0.8546 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006303/0.8573, allocations: 422.9 kB / 0.855 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.8732, allocations: 7.12 MB / 0.862 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05321/0.9265, allocations: 40.71 MB / 0.9017 GB, free: 4.934 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004962/0.9314, allocations: 2.905 MB / 0.9046 GB, free: 2.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/0.9345, allocations: 1.934 MB / 0.9065 GB, free: 92 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.9347, allocations: 26 kB / 0.9065 GB, free: 68 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.422e-05/0.9348, allocations: 64.5 kB / 0.9065 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=209): time 4.198e-06/0.9348, allocations: 0 / 0.9065 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of matching and sorting (n=212): time 0.02574/0.9605, allocations: 10.27 MB / 0.9166 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.9606, allocations: 85.34 kB / 0.9167 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.9635, allocations: 2.006 MB / 0.9186 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003659/0.9639, allocations: 61.7 kB / 0.9187 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001824/0.9657, allocations: 2.474 MB / 0.9211 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008467/0.9666, allocations: 0.763 MB / 0.9218 GB, free: 256 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/0.9674, allocations: 481.6 kB / 0.9223 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.9675, allocations: 301.1 kB / 0.9226 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.9696, allocations: 1.376 MB / 0.9239 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/0.9725, allocations: 2.112 MB / 0.926 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005321/0.9778, allocations: 3.77 MB / 0.9297 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.9778, allocations: 4 kB / 0.9297 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008934/0.9867, allocations: 5.027 MB / 0.9346 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.9868, allocations: 16 kB / 0.9346 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/0.9868, allocations: 24 kB / 0.9346 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/0.9905, allocations: 1.582 MB / 0.9362 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.9924, allocations: 455.2 kB / 0.9366 GB, free: 464 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02485/1.017, allocations: 18.19 MB / 0.9544 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/1.02, allocations: 151.8 kB / 0.9545 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/1.02, allocations: 104 kB / 0.9546 GB, free: 13.57 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.003733/1.024, allocations: 1.941 MB / 0.9565 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006431/1.024, allocations: 302.2 kB / 0.9568 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00799/1.032, allocations: 4.4 MB / 0.9611 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/1.032, allocations: 20 kB / 0.9611 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.424e-05/1.032, allocations: 16 kB / 0.9611 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.283e-05/1.032, allocations: 11.95 kB / 0.9611 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/1.052, allocations: 9.605 MB / 0.9705 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.052, allocations: 8.094 kB / 0.9705 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.053, allocations: 235.6 kB / 0.9707 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003691/1.057, allocations: 1.419 MB / 0.9721 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002937/1.057, allocations: 40 kB / 0.9722 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02547/1.082, allocations: 18.18 MB / 0.9899 GB, free: 8.746 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.082, allocations: 11.94 kB / 0.9899 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007973/1.09, allocations: 4.495 MB / 0.9943 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/1.092, allocations: 0.5839 MB / 0.9949 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/1.093, allocations: 43.98 kB / 0.9949 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.094, allocations: 115.9 kB / 0.995 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005113/1.095, allocations: 189.5 kB / 0.9952 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.095, allocations: 63.94 kB / 0.9953 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002118/1.097, allocations: 1.319 MB / 0.9966 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.097, allocations: 0 / 0.9966 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003869/1.101, allocations: 1.141 MB / 0.9977 GB, free: 0.6953 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.008377/1.109, allocations: 5.118 MB / 1.003 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008858/1.118, allocations: 4.539 MB / 1.007 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.118, allocations: 0 / 1.007 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005444/1.124, allocations: 2.805 MB / 1.01 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/1.129, allocations: 0.896 MB / 1.011 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05881/1.188, allocations: 30.57 MB / 1.041 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00614/1.194, allocations: 3.694 MB / 1.044 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002138/1.196, allocations: 0.5557 MB / 1.045 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003152/1.199, allocations: 1.948 MB / 1.047 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of SimCode: time 1.723e-06/1.199, allocations: 0 / 1.047 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5391/1.739, allocations: 88.19 MB / 1.133 GB, free: 253.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/19.01, allocations: 13.75 kB / 1.133 GB, free: 253.5 MB / 0.8419 GB " [Timeout remaining time 641] (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.2795877950266] Failed to read output from testmodel.py, exit status != 0: 19.172790188109502 19.190578583 18.391868829 Calling exit ...