Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001306/0.001306, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001737/0.001737, allocations: 218.3 kB / 23.78 MB, free: 4.523 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.9989/0.9989, allocations: 150 MB / 464 MB, free: 10.25 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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.002019/0.002019, allocations: 67.45 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1908, allocations: 89.18 MB / 0.7291 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.427/0.6178, allocations: 33.69 MB / 0.762 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.6379, allocations: 11.51 MB / 0.7732 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.6421, allocations: 209.3 kB / 0.7734 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01075/0.6528, allocations: 4.262 MB / 0.7776 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.6587, allocations: 2.085 MB / 0.7796 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007066/0.6658, allocations: 2.418 MB / 0.782 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01397/0.6797, allocations: 8.457 MB / 0.7902 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.6907, allocations: 6.23 MB / 0.7963 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007753/0.6984, allocations: 3.872 MB / 0.8001 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009204/0.7076, allocations: 4.425 MB / 0.8044 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004316/0.7119, allocations: 0.7799 MB / 0.8052 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009153/0.7211, allocations: 1.915 MB / 0.807 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007402/0.7285, allocations: 3.142 MB / 0.8101 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01272/0.7412, allocations: 2.75 MB / 0.8128 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02206/0.7633, allocations: 12.06 MB / 0.8246 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7633, allocations: 3.938 kB / 0.8246 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7633, allocations: 0 / 0.8246 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004046/0.7637, allocations: 0 / 0.8246 GB, free: 5.797 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01873/0.7824, allocations: 5.864 MB / 0.8303 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.7825, allocations: 12.03 kB / 0.8303 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002595/0.7827, allocations: 147.3 kB / 0.8305 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004017/0.7867, allocations: 0.8051 MB / 0.8312 GB, free: 112 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008509/0.7953, allocations: 1.093 MB / 0.8323 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009973/0.8052, allocations: 3.411 MB / 0.8356 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005678/0.8058, allocations: 415.5 kB / 0.836 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003375/0.8092, allocations: 0.5361 MB / 0.8366 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/0.8365, allocations: 9.378 MB / 0.8457 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000359/0.8369, allocations: 31.77 kB / 0.8458 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002568/0.8394, allocations: 243.9 kB / 0.846 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006122/0.84, allocations: 350.7 kB / 0.8463 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/0.859, allocations: 6.826 MB / 0.853 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04811/0.9071, allocations: 25.12 MB / 0.8775 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004596/0.9117, allocations: 2.304 MB / 0.8798 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/0.9148, allocations: 1.774 MB / 0.8815 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.915, allocations: 18 kB / 0.8815 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.9151, allocations: 52.56 kB / 0.8816 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=179): time 4.598e-06/0.9151, allocations: 0 / 0.8816 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=182): time 0.02878/0.9439, allocations: 9.687 MB / 0.891 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.944, allocations: 77.41 kB / 0.8911 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.9469, allocations: 1.523 MB / 0.8926 GB, free: 156 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000429/0.9473, allocations: 61.64 kB / 0.8927 GB, free: 88 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00206/0.9494, allocations: 2.324 MB / 0.8949 GB, free: 13.74 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009563/0.9504, allocations: 0.6623 MB / 0.8956 GB, free: 13.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.9516, allocations: 412.1 kB / 0.896 GB, free: 12.66 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9517, allocations: 305.1 kB / 0.8962 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.9538, allocations: 1.183 MB / 0.8974 GB, free: 11.17 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.9565, allocations: 1.883 MB / 0.8992 GB, free: 8.969 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00503/0.9615, allocations: 3.368 MB / 0.9025 GB, free: 5.297 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.011e-05/0.9615, allocations: 8 kB / 0.9025 GB, free: 5.289 MB / 0.67 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009202/0.9707, allocations: 4.546 MB / 0.907 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.9708, allocations: 12.97 kB / 0.907 GB, free: 0.707 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.734e-05/0.9708, allocations: 24 kB / 0.907 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004148/0.975, allocations: 1.574 MB / 0.9086 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.9763, allocations: 355.3 kB / 0.9089 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02573/1.002, allocations: 17.94 MB / 0.9264 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/1.005, allocations: 115.9 kB / 0.9265 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005571/1.005, allocations: 104 kB / 0.9266 GB, free: 12.15 MB / 0.7012 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005102/1.01, allocations: 1.889 MB / 0.9285 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.011, allocations: 238.5 kB / 0.9287 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008514/1.02, allocations: 4.043 MB / 0.9326 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/1.02, allocations: 16 kB / 0.9327 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.315e-05/1.02, allocations: 16.11 kB / 0.9327 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/1.02, allocations: 19.91 kB / 0.9327 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.041, allocations: 8.66 MB / 0.9411 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.041, allocations: 8.094 kB / 0.9412 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/1.041, allocations: 179.7 kB / 0.9413 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003815/1.045, allocations: 1.359 MB / 0.9427 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/1.045, allocations: 36.25 kB / 0.9427 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02496/1.07, allocations: 16.71 MB / 0.959 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.07, allocations: 8.062 kB / 0.959 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008268/1.079, allocations: 4.04 MB / 0.963 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.08, allocations: 488.5 kB / 0.9634 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006155/1.081, allocations: 36 kB / 0.9635 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.082, allocations: 87.89 kB / 0.9635 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006533/1.083, allocations: 169.5 kB / 0.9637 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/1.083, allocations: 48 kB / 0.9638 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001828/1.085, allocations: 1.001 MB / 0.9647 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/1.085, allocations: 0 / 0.9647 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0037/1.089, allocations: 0.9844 MB / 0.9657 GB, free: 3.383 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008268/1.097, allocations: 4.641 MB / 0.9702 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009306/1.106, allocations: 4.179 MB / 0.9743 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/1.106, allocations: 3.938 kB / 0.9743 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005415/1.112, allocations: 2.569 MB / 0.9768 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.117, allocations: 0.7896 MB / 0.9776 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05788/1.175, allocations: 27 MB / 1.004 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007059/1.182, allocations: 3.043 MB / 1.007 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001671/1.183, allocations: 467.9 kB / 1.007 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002897/1.186, allocations: 1.788 MB / 1.009 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of SimCode: time 1.473e-06/1.186, allocations: 4 kB / 1.009 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5359/1.722, allocations: 78.98 MB / 1.086 GB, free: 271.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/17.98, allocations: 10.34 kB / 1.086 GB, free: 271.9 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.418461014982313] Failed to read output from testmodel.py, exit status != 0: 18.19471805798821 18.221104409 17.45257049 Calling exit ...