Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001394/0.001394, allocations: 115.7 kB / 17.84 MB, free: 5.312 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.001437/0.001437, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.478/1.478, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9903/0.9903, allocations: 150 MB / 460.2 MB, free: 5.312 MB / 350.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.002075/0.002075, allocations: 69.03 kB / 0.6368 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1592, allocations: 89.14 MB / 0.7239 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04353/0.2028, allocations: 35.69 MB / 0.7587 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.2209, allocations: 10.09 MB / 0.7686 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.2241, allocations: 190.6 kB / 0.7688 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.2342, allocations: 3.864 MB / 0.7725 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006403/0.2406, allocations: 2.146 MB / 0.7746 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00595/0.2466, allocations: 1.961 MB / 0.7765 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01202/0.2586, allocations: 7.971 MB / 0.7843 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.27, allocations: 7.125 MB / 0.7913 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005887/0.2759, allocations: 3.47 MB / 0.7947 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006926/0.2828, allocations: 3.941 MB / 0.7985 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002348/0.2851, allocations: 0.6797 MB / 0.7992 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/0.2896, allocations: 1.467 MB / 0.8006 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004139/0.2938, allocations: 2.685 MB / 0.8032 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005546/0.2993, allocations: 3.097 MB / 0.8063 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.3133, allocations: 10.41 MB / 0.8164 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.3133, allocations: 7.984 kB / 0.8164 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3134, allocations: 0 / 0.8164 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002883/0.3136, allocations: 0 / 0.8164 GB, free: 4.871 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01907/0.3327, allocations: 5.536 MB / 0.8218 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.3328, allocations: 16.03 kB / 0.8219 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001699/0.3329, allocations: 125.8 kB / 0.822 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002268/0.3352, allocations: 0.6984 MB / 0.8227 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006099/0.3413, allocations: 1.004 MB / 0.8236 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006753/0.3481, allocations: 3.192 MB / 0.8268 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/0.3484, allocations: 357.9 kB / 0.8271 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.3496, allocations: 468.3 kB / 0.8275 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.3659, allocations: 7.902 MB / 0.8353 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.366, allocations: 23.81 kB / 0.8353 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005968/0.3666, allocations: 212 kB / 0.8355 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005565/0.3672, allocations: 369.1 kB / 0.8358 GB, free: 500 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.3781, allocations: 5.933 MB / 0.8416 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3718/0.7498, allocations: 36.01 MB / 0.8768 GB, free: 111.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.7531, allocations: 1.997 MB / 0.8787 GB, free: 111.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.7548, allocations: 1.335 MB / 0.8801 GB, free: 111.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.665e-05/0.7549, allocations: 16.75 kB / 0.8801 GB, free: 111.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.755, allocations: 56.78 kB / 0.8801 GB, free: 111.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=157): time 3.366e-06/0.755, allocations: 0 / 0.8801 GB, free: 111.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=160): time 0.01466/0.7696, allocations: 7.58 MB / 0.8875 GB, free: 108.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.7697, allocations: 71.94 kB / 0.8876 GB, free: 108.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.7722, allocations: 1.859 MB / 0.8894 GB, free: 107.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.7724, allocations: 60.69 kB / 0.8895 GB, free: 107.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.7735, allocations: 2.182 MB / 0.8916 GB, free: 106.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.774, allocations: 0.5914 MB / 0.8922 GB, free: 105.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/0.7745, allocations: 410 kB / 0.8926 GB, free: 105.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.7746, allocations: 301.1 kB / 0.8929 GB, free: 105.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.776, allocations: 1.06 MB / 0.8939 GB, free: 105 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.7776, allocations: 1.765 MB / 0.8956 GB, free: 103.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/0.7805, allocations: 3.043 MB / 0.8986 GB, free: 101.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.7805, allocations: 3.969 kB / 0.8986 GB, free: 101.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005608/0.7861, allocations: 3.914 MB / 0.9024 GB, free: 100.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.7861, allocations: 15.25 kB / 0.9024 GB, free: 100.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.7861, allocations: 22.69 kB / 0.9024 GB, free: 100.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.7885, allocations: 0.9234 MB / 0.9033 GB, free: 99.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.79, allocations: 431.4 kB / 0.9038 GB, free: 99.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/0.8056, allocations: 22.78 MB / 0.926 GB, free: 78.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.8079, allocations: 119 kB / 0.9261 GB, free: 78.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.8081, allocations: 97.72 kB / 0.9262 GB, free: 78.78 MB / 0.67 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.002196/0.8103, allocations: 1.646 MB / 0.9278 GB, free: 77.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/0.8109, allocations: 268.4 kB / 0.9281 GB, free: 77.63 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.8155, allocations: 3.241 MB / 0.9312 GB, free: 75.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.8155, allocations: 16 kB / 0.9313 GB, free: 75.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.8155, allocations: 12 kB / 0.9313 GB, free: 75.56 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.8156, allocations: 7.969 kB / 0.9313 GB, free: 75.55 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/0.8259, allocations: 7.518 MB / 0.9386 GB, free: 67.92 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.8259, allocations: 7.281 kB / 0.9386 GB, free: 67.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.8267, allocations: 223.6 kB / 0.9388 GB, free: 67.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/0.8288, allocations: 0.892 MB / 0.9397 GB, free: 66.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8289, allocations: 28 kB / 0.9397 GB, free: 66.74 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.843, allocations: 22.74 MB / 0.9619 GB, free: 42.34 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.843, allocations: 7.938 kB / 0.962 GB, free: 42.34 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/0.8477, allocations: 3.369 MB / 0.9652 GB, free: 38.86 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.8488, allocations: 0.5385 MB / 0.9658 GB, free: 38.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.8491, allocations: 35.98 kB / 0.9658 GB, free: 38.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.8503, allocations: 91.83 kB / 0.9659 GB, free: 38.17 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/0.8507, allocations: 145 kB / 0.966 GB, free: 38.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.8508, allocations: 44 kB / 0.9661 GB, free: 37.99 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001367/0.8522, allocations: 1.229 MB / 0.9673 GB, free: 36.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8522, allocations: 0 / 0.9673 GB, free: 36.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002824/0.855, allocations: 0.9023 MB / 0.9682 GB, free: 35.84 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004534/0.8596, allocations: 3.97 MB / 0.972 GB, free: 31.76 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005516/0.8651, allocations: 4.292 MB / 0.9762 GB, free: 27.32 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.8651, allocations: 4 kB / 0.9762 GB, free: 27.32 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.8687, allocations: 2.902 MB / 0.9791 GB, free: 24.27 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/0.8722, allocations: 0.832 MB / 0.9799 GB, free: 23.47 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02996/0.9021, allocations: 25.13 MB / 1.004 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003874/0.906, allocations: 3.209 MB / 1.008 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001749/0.9078, allocations: 0.5292 MB / 1.008 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/0.9099, allocations: 1.651 MB / 1.01 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of SimCode: time 8.52e-07/0.9099, allocations: 0 / 1.01 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2252/1.135, allocations: 70.81 MB / 1.079 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.15, allocations: 7.812 kB / 1.079 GB, free: 1.836 MB / 0.7481 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.944792994007003] Failed to read output from testmodel.py, exit status != 0: 17.43808023998281 17.461651516 17.143560534 Calling exit ...