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.001419/0.001419, allocations: 114.8 kB / 17.84 MB, free: 5.223 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.001567/0.001567, allocations: 198.3 kB / 20.79 MB, free: 2.285 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.475/1.475, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9884/0.9884, allocations: 150 MB / 460.2 MB, free: 5.273 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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",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="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.001915/0.001915, allocations: 76.62 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 89.13 MB / 0.7239 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05031/0.1993, allocations: 38.57 MB / 0.7615 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.2204, allocations: 11.17 MB / 0.7724 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004213/0.2246, allocations: 198.6 kB / 0.7726 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.2363, allocations: 4.425 MB / 0.7769 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00612/0.2424, allocations: 2.344 MB / 0.7792 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005456/0.2479, allocations: 2.179 MB / 0.7814 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01165/0.2595, allocations: 9.272 MB / 0.7904 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01578/0.2753, allocations: 8.534 MB / 0.7987 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009059/0.2844, allocations: 4.102 MB / 0.8028 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00857/0.2929, allocations: 4.755 MB / 0.8074 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00246/0.2954, allocations: 0.8242 MB / 0.8082 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004589/0.3, allocations: 1.607 MB / 0.8098 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00509/0.3051, allocations: 3.231 MB / 0.8129 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007565/0.3126, allocations: 3.657 MB / 0.8165 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.329, allocations: 12.34 MB / 0.8286 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.329, allocations: 0 / 0.8286 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.329, allocations: 0 / 0.8286 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003318/0.3293, allocations: 0 / 0.8286 GB, free: 8.398 MB / 0.6387 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.01685/0.3462, allocations: 6.474 MB / 0.8349 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3462, allocations: 8.031 kB / 0.8349 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001662/0.3464, allocations: 151.6 kB / 0.835 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002195/0.3486, allocations: 0.8294 MB / 0.8358 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006008/0.3546, allocations: 1.09 MB / 0.8369 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007761/0.3624, allocations: 3.636 MB / 0.8405 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004192/0.3628, allocations: 419.8 kB / 0.8409 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.3644, allocations: 0.5433 MB / 0.8414 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.3853, allocations: 9.385 MB / 0.8505 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/0.3856, allocations: 23.83 kB / 0.8506 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.3871, allocations: 244 kB / 0.8508 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007664/0.3879, allocations: 414.9 kB / 0.8512 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.404, allocations: 7.127 MB / 0.8582 GB, free: 9.59 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.367/0.7709, allocations: 41.06 MB / 0.8983 GB, free: 94.98 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.7763, allocations: 2.913 MB / 0.9011 GB, free: 93.89 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.779, allocations: 1.944 MB / 0.903 GB, free: 93.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.7792, allocations: 25.69 kB / 0.903 GB, free: 93.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.7792, allocations: 62.25 kB / 0.9031 GB, free: 93.11 MB / 0.67 GB Notification: Performance of pre-optimization done (n=209): time 4.248e-06/0.7792, allocations: 0 / 0.9031 GB, free: 93.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=212): time 0.02367/0.8029, allocations: 10.58 MB / 0.9134 GB, free: 87.51 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.803, allocations: 77.17 kB / 0.9135 GB, free: 87.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/0.806, allocations: 1.999 MB / 0.9154 GB, free: 86.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003808/0.8064, allocations: 65.2 kB / 0.9155 GB, free: 86.32 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.8076, allocations: 2.476 MB / 0.9179 GB, free: 84.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005595/0.8081, allocations: 0.7722 MB / 0.9187 GB, free: 83.95 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/0.8088, allocations: 476.8 kB / 0.9191 GB, free: 83.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.8089, allocations: 310.2 kB / 0.9194 GB, free: 83.38 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.8105, allocations: 1.372 MB / 0.9208 GB, free: 82.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.8123, allocations: 2.108 MB / 0.9228 GB, free: 81 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.8159, allocations: 3.758 MB / 0.9265 GB, free: 78.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.8159, allocations: 15.47 kB / 0.9265 GB, free: 78.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008333/0.8243, allocations: 5.03 MB / 0.9314 GB, free: 75.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.8243, allocations: 20.25 kB / 0.9314 GB, free: 75.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/0.8243, allocations: 24 kB / 0.9315 GB, free: 75.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004655/0.829, allocations: 1.581 MB / 0.933 GB, free: 73.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.8314, allocations: 451.2 kB / 0.9334 GB, free: 73.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02821/0.8596, allocations: 18.6 MB / 0.9516 GB, free: 53.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/0.8636, allocations: 149.8 kB / 0.9517 GB, free: 53.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005405/0.8641, allocations: 104 kB / 0.9518 GB, free: 53.69 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 (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.004586/0.8687, allocations: 1.949 MB / 0.9537 GB, free: 51.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009666/0.8697, allocations: 302.2 kB / 0.954 GB, free: 51.43 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009928/0.8796, allocations: 4.4 MB / 0.9583 GB, free: 47 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.8796, allocations: 20 kB / 0.9584 GB, free: 46.98 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.8797, allocations: 16 kB / 0.9584 GB, free: 46.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-05/0.8797, allocations: 7.969 kB / 0.9584 GB, free: 46.96 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/0.8986, allocations: 9.614 MB / 0.9678 GB, free: 37.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.8986, allocations: 7.938 kB / 0.9678 GB, free: 37.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.8996, allocations: 235.8 kB / 0.968 GB, free: 37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003166/0.9028, allocations: 1.427 MB / 0.9694 GB, free: 35.56 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002697/0.9031, allocations: 44 kB / 0.9694 GB, free: 35.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.9224, allocations: 18.59 MB / 0.9876 GB, free: 16.38 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.9224, allocations: 12.03 kB / 0.9876 GB, free: 16.36 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007996/0.9304, allocations: 4.503 MB / 0.992 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/0.9324, allocations: 0.6552 MB / 0.9926 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000809/0.9332, allocations: 36 kB / 0.9927 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.9351, allocations: 115.9 kB / 0.9928 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/0.9358, allocations: 188.8 kB / 0.993 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/0.936, allocations: 60 kB / 0.993 GB, free: 10.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002233/0.9382, allocations: 1.315 MB / 0.9943 GB, free: 9.391 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9382, allocations: 0 / 0.9943 GB, free: 9.391 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004331/0.9426, allocations: 1.141 MB / 0.9954 GB, free: 8.25 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 (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.007123/0.9497, allocations: 5.113 MB / 1 GB, free: 3.043 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007788/0.9575, allocations: 4.544 MB / 1.005 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/0.9575, allocations: 0 / 1.005 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005896/0.9634, allocations: 2.807 MB / 1.008 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005778/0.9691, allocations: 0.8956 MB / 1.008 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07174/1.041, allocations: 30.43 MB / 1.038 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007818/1.049, allocations: 3.69 MB / 1.042 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002759/1.051, allocations: 0.5595 MB / 1.042 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003677/1.055, allocations: 1.944 MB / 1.044 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of SimCode: time 1.583e-06/1.055, allocations: 0 / 1.044 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1749/1.23, allocations: 85.92 MB / 1.128 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/18.14, allocations: 3.938 kB / 1.128 GB, free: 15.86 MB / 0.8106 GB " [Timeout remaining time 642] (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: 22.77839353500167] Failed to read output from testmodel.py, exit status != 0: 18.337321116996463 18.355245127 18.022872998 Calling exit ...