Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001629/0.001629, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001926/0.001926, allocations: 223.3 kB / 23.01 MB, free: 5.043 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9942/0.9942, allocations: 150 MB / 463.2 MB, free: 10.5 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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.002359/0.002359, allocations: 70.64 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2075, allocations: 89.16 MB / 0.7284 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3755/0.5831, allocations: 34.26 MB / 0.7618 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.5988, allocations: 10.68 MB / 0.7722 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003664/0.6024, allocations: 196.4 kB / 0.7724 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009597/0.612, allocations: 3.894 MB / 0.7762 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008017/0.6201, allocations: 1.95 MB / 0.7781 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006486/0.6265, allocations: 2.196 MB / 0.7803 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01187/0.6384, allocations: 7.331 MB / 0.7874 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.6489, allocations: 5.148 MB / 0.7925 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006195/0.6551, allocations: 3.269 MB / 0.7957 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006546/0.6617, allocations: 3.683 MB / 0.7993 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002225/0.6639, allocations: 0.645 MB / 0.7999 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005279/0.6692, allocations: 1.806 MB / 0.8017 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004143/0.6733, allocations: 2.612 MB / 0.8042 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006187/0.6795, allocations: 2.902 MB / 0.807 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.6939, allocations: 10.14 MB / 0.8169 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.6939, allocations: 5.219 kB / 0.8169 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6939, allocations: 0 / 0.8169 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003172/0.6942, allocations: 3.938 kB / 0.817 GB, free: 11.37 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01454/0.7087, allocations: 5.037 MB / 0.8219 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7088, allocations: 10.47 kB / 0.8219 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002449/0.7112, allocations: 0.6828 MB / 0.8225 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006898/0.7181, allocations: 0.9796 MB / 0.8235 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/0.726, allocations: 3.01 MB / 0.8264 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.7264, allocations: 346 kB / 0.8268 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002018/0.7284, allocations: 468.8 kB / 0.8272 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.7475, allocations: 7.663 MB / 0.8347 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/0.7478, allocations: 27.77 kB / 0.8347 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001241/0.749, allocations: 196 kB / 0.8349 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004023/0.7494, allocations: 316.9 kB / 0.8352 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/0.7622, allocations: 5.71 MB / 0.8408 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04496/0.8072, allocations: 34.58 MB / 0.8746 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.8105, allocations: 1.555 MB / 0.8761 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.8123, allocations: 1.124 MB / 0.8772 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.8124, allocations: 13.31 kB / 0.8772 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.8124, allocations: 47.88 kB / 0.8772 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=133): time 3.416e-06/0.8124, allocations: 0 / 0.8772 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.01588/0.8283, allocations: 6.21 MB / 0.8833 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.8284, allocations: 64.72 kB / 0.8834 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.831, allocations: 1.484 MB / 0.8848 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.8311, allocations: 53.7 kB / 0.8849 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/0.8331, allocations: 2.065 MB / 0.8869 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/0.8338, allocations: 0.5057 MB / 0.8874 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000623/0.8344, allocations: 353.3 kB / 0.8877 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.8346, allocations: 301.1 kB / 0.888 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.836, allocations: 0.9096 MB / 0.8889 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.8383, allocations: 1.597 MB / 0.8904 GB, free: 0 / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004032/0.8423, allocations: 2.734 MB / 0.8931 GB, free: 12.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/0.8424, allocations: 8 kB / 0.8931 GB, free: 12.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007057/0.8494, allocations: 3.514 MB / 0.8966 GB, free: 9.395 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.8494, allocations: 16 kB / 0.8966 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/0.8495, allocations: 20.91 kB / 0.8966 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.8522, allocations: 0.9007 MB / 0.8975 GB, free: 8.422 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.8535, allocations: 347.3 kB / 0.8978 GB, free: 8.082 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/0.8784, allocations: 21.89 MB / 0.9192 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.8801, allocations: 104 kB / 0.9193 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.8804, allocations: 88 kB / 0.9194 GB, free: 0.6641 MB / 0.6856 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003446/0.8838, allocations: 1.608 MB / 0.9209 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/0.8844, allocations: 218.6 kB / 0.9211 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006124/0.8905, allocations: 2.963 MB / 0.924 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.8905, allocations: 16 kB / 0.9241 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.659e-05/0.8906, allocations: 8 kB / 0.9241 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.8906, allocations: 11.97 kB / 0.9241 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.9056, allocations: 7.294 MB / 0.9312 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.9057, allocations: 4 kB / 0.9312 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.9065, allocations: 179.7 kB / 0.9314 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.9091, allocations: 0.8262 MB / 0.9322 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.9092, allocations: 24 kB / 0.9322 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02376/0.933, allocations: 20.73 MB / 0.9524 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.933, allocations: 4 kB / 0.9524 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/0.9394, allocations: 3.018 MB / 0.9554 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.9407, allocations: 387.1 kB / 0.9558 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005648/0.9413, allocations: 31.92 kB / 0.9558 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.9426, allocations: 71.92 kB / 0.9559 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004809/0.9431, allocations: 128.6 kB / 0.956 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.9432, allocations: 44 kB / 0.956 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001982/0.9452, allocations: 0.9834 MB / 0.957 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9452, allocations: 0 / 0.957 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003581/0.9488, allocations: 0.7851 MB / 0.9578 GB, free: 7.555 MB / 0.7325 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006154/0.9549, allocations: 3.608 MB / 0.9613 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00721/0.9621, allocations: 3.912 MB / 0.9651 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9621, allocations: 8.062 kB / 0.9651 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004563/0.9667, allocations: 2.662 MB / 0.9677 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/0.9707, allocations: 0.7414 MB / 0.9684 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/1.011, allocations: 22.52 MB / 0.9904 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/1.016, allocations: 3.109 MB / 0.9935 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001566/1.017, allocations: 462 kB / 0.9939 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/1.019, allocations: 1.542 MB / 0.9954 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of SimCode: time 2.094e-06/1.019, allocations: 0 / 0.9954 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/1.174, allocations: 63.44 MB / 1.057 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.42, allocations: 9.266 kB / 1.057 GB, free: 0.7852 MB / 0.8262 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.642893810989335] Failed to read output from testmodel.py, exit status != 0: 16.56706306990236 16.5977383 15.897424341 Calling exit ...