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.001823/0.001823, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002297/0.002297, allocations: 212.7 kB / 23.78 MB, free: 4.555 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.543/1.543, allocations: 230.6 MB / 257.6 MB, free: 7.789 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.031/1.031, allocations: 150 MB / 463.9 MB, free: 10.2 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="cs",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="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.002212/0.002212, allocations: 67.27 kB / 0.642 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1741, allocations: 89.18 MB / 0.7291 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04179/0.2159, allocations: 31.45 MB / 0.7598 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.416/0.6319, allocations: 10.25 MB / 0.7698 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.6352, allocations: 201.4 kB / 0.77 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.6454, allocations: 3.729 MB / 0.7736 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007766/0.6531, allocations: 1.95 MB / 0.7755 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006656/0.6598, allocations: 2.136 MB / 0.7776 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01269/0.6725, allocations: 7.318 MB / 0.7848 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.6825, allocations: 5.158 MB / 0.7898 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007104/0.6896, allocations: 3.289 MB / 0.793 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007093/0.6967, allocations: 3.685 MB / 0.7966 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00263/0.6993, allocations: 0.6454 MB / 0.7972 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005923/0.7052, allocations: 1.661 MB / 0.7989 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004444/0.7097, allocations: 2.612 MB / 0.8014 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006554/0.7162, allocations: 2.342 MB / 0.8037 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.7336, allocations: 10.18 MB / 0.8136 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.7336, allocations: 1.406 kB / 0.8136 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.995e-06/0.7336, allocations: 4 kB / 0.8136 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000462/0.7341, allocations: 0 / 0.8136 GB, free: 12.43 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.01533/0.7494, allocations: 5.043 MB / 0.8186 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7494, allocations: 8.5 kB / 0.8186 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001436/0.7496, allocations: 126.5 kB / 0.8187 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001389/0.751, allocations: 0.6867 MB / 0.8194 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005636/0.7566, allocations: 0.9808 MB / 0.8203 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006444/0.763, allocations: 2.994 MB / 0.8233 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.7633, allocations: 350.8 kB / 0.8236 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.7644, allocations: 466 kB / 0.824 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.7813, allocations: 7.969 MB / 0.8318 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.7815, allocations: 28.91 kB / 0.8318 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008034/0.7823, allocations: 201.1 kB / 0.832 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004247/0.7827, allocations: 312.9 kB / 0.8323 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.7965, allocations: 5.71 MB / 0.8379 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03646/0.833, allocations: 22.69 MB / 0.8601 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.8357, allocations: 1.555 MB / 0.8616 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.8374, allocations: 1.125 MB / 0.8627 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-05/0.8375, allocations: 13.31 kB / 0.8627 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.8375, allocations: 59.73 kB / 0.8627 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=133): time 3.456e-06/0.8375, allocations: 0 / 0.8627 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136): time 0.01661/0.8542, allocations: 6.206 MB / 0.8688 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.8542, allocations: 64.72 kB / 0.8689 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.8566, allocations: 1.488 MB / 0.8703 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.8567, allocations: 45.7 kB / 0.8704 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00169/0.8584, allocations: 2.073 MB / 0.8724 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006117/0.859, allocations: 0.4911 MB / 0.8729 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006957/0.8597, allocations: 355.3 kB / 0.8732 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.8599, allocations: 301.1 kB / 0.8735 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.8614, allocations: 0.9174 MB / 0.8744 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.8634, allocations: 1.596 MB / 0.876 GB, free: 268 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/0.867, allocations: 2.739 MB / 0.8786 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.867, allocations: 8 kB / 0.8786 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006656/0.8737, allocations: 3.508 MB / 0.8821 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.8737, allocations: 20.06 kB / 0.8821 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.565e-05/0.8738, allocations: 23.94 kB / 0.8821 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.8765, allocations: 0.8978 MB / 0.883 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.8778, allocations: 351.4 kB / 0.8833 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/0.9021, allocations: 21.73 MB / 0.9045 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.9042, allocations: 104 kB / 0.9046 GB, free: 1.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.9044, allocations: 84 kB / 0.9047 GB, free: 1.082 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 (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.003828/0.9083, allocations: 1.615 MB / 0.9063 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005263/0.9088, allocations: 214.6 kB / 0.9065 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005964/0.9148, allocations: 2.957 MB / 0.9094 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.9148, allocations: 16 kB / 0.9094 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.9148, allocations: 8 kB / 0.9094 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.9148, allocations: 7.969 kB / 0.9094 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.9284, allocations: 6.738 MB / 0.916 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.9284, allocations: 4 kB / 0.916 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.9292, allocations: 175.7 kB / 0.9162 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.9318, allocations: 0.826 MB / 0.917 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.9319, allocations: 24 kB / 0.917 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/0.9542, allocations: 20.59 MB / 0.9371 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.9542, allocations: 8.094 kB / 0.9371 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005891/0.9601, allocations: 3.013 MB / 0.9401 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.9612, allocations: 391 kB / 0.9404 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.9615, allocations: 32 kB / 0.9405 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.9623, allocations: 67.91 kB / 0.9405 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/0.9628, allocations: 136.6 kB / 0.9407 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.512e-05/0.9629, allocations: 36 kB / 0.9407 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001543/0.9644, allocations: 0.9795 MB / 0.9416 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9644, allocations: 0 / 0.9416 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003121/0.9675, allocations: 0.7891 MB / 0.9424 GB, free: 8.75 MB / 0.7169 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.00588/0.9734, allocations: 3.605 MB / 0.9459 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00636/0.9798, allocations: 3.915 MB / 0.9498 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.9798, allocations: 5 kB / 0.9498 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004038/0.9838, allocations: 2.672 MB / 0.9524 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.9872, allocations: 0.7392 MB / 0.9531 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04255/1.03, allocations: 22.51 MB / 0.9751 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004563/1.034, allocations: 2.565 MB / 0.9776 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001465/1.036, allocations: 458 kB / 0.978 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00247/1.038, allocations: 1.534 MB / 0.9795 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of SimCode: time 1.964e-06/1.038, allocations: 4 kB / 0.9795 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1641/1.202, allocations: 65.97 MB / 1.044 GB, free: 276 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.86, allocations: 12 kB / 1.044 GB, free: 264 kB / 0.8106 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: 21.393381020985544] Failed to read output from testmodel.py, exit status != 0: 17.064493814017624 17.082145519 16.344807543 Calling exit ...