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.001305/0.001305, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001565/0.001565, allocations: 213 kB / 22.99 MB, free: 4.977 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.465/1.465, allocations: 230.6 MB / 256.8 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.9771/0.9771, allocations: 149.9 MB / 463 MB, free: 10.35 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_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",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="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.002137/0.002137, allocations: 75.8 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2093, allocations: 89.17 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.4242/0.6335, allocations: 36.39 MB / 0.7637 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.6518, allocations: 11.11 MB / 0.7746 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004516/0.6563, allocations: 204.9 kB / 0.7748 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01206/0.6683, allocations: 4.374 MB / 0.779 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00765/0.676, allocations: 2.333 MB / 0.7813 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008429/0.6844, allocations: 2.182 MB / 0.7834 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01534/0.6998, allocations: 9.284 MB / 0.7925 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.7124, allocations: 6.339 MB / 0.7987 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00881/0.7212, allocations: 4.129 MB / 0.8027 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.7313, allocations: 4.466 MB / 0.8071 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003756/0.735, allocations: 0.8221 MB / 0.8079 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007192/0.7422, allocations: 1.5 MB / 0.8094 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007517/0.7497, allocations: 3.232 MB / 0.8125 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.7612, allocations: 2.963 MB / 0.8154 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01944/0.7806, allocations: 12.4 MB / 0.8275 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.7806, allocations: 0 / 0.8275 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7806, allocations: 0 / 0.8275 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004423/0.7811, allocations: 0 / 0.8275 GB, free: 3.375 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01994/0.801, allocations: 6.41 MB / 0.8338 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8011, allocations: 11.97 kB / 0.8338 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002634/0.8037, allocations: 0.8268 MB / 0.8346 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006574/0.8103, allocations: 1.098 MB / 0.8357 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.8205, allocations: 3.57 MB / 0.8392 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000472/0.821, allocations: 427.7 kB / 0.8396 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/0.8235, allocations: 0.5394 MB / 0.8401 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/0.848, allocations: 10.29 MB / 0.8501 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001651/0.8482, allocations: 23.77 kB / 0.8502 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/0.8495, allocations: 248 kB / 0.8504 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006454/0.8502, allocations: 418.9 kB / 0.8508 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.8661, allocations: 7.12 MB / 0.8578 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0484/0.9145, allocations: 26.24 MB / 0.8834 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005302/0.9198, allocations: 2.906 MB / 0.8862 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003441/0.9232, allocations: 1.938 MB / 0.8881 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.9233, allocations: 22 kB / 0.8881 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.783e-05/0.9234, allocations: 64.55 kB / 0.8882 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=209): time 5.991e-06/0.9234, allocations: 0 / 0.8882 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=212): time 0.0252/0.9486, allocations: 10.27 MB / 0.8982 GB, free: 9.68 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.9487, allocations: 73.41 kB / 0.8983 GB, free: 9.598 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/0.952, allocations: 2.052 MB / 0.9003 GB, free: 7.527 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.9523, allocations: 65.7 kB / 0.9004 GB, free: 7.457 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001912/0.9542, allocations: 2.47 MB / 0.9028 GB, free: 4.961 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008805/0.9551, allocations: 0.7708 MB / 0.9035 GB, free: 4.184 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007828/0.9558, allocations: 485.5 kB / 0.904 GB, free: 3.703 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.956, allocations: 301.1 kB / 0.9043 GB, free: 3.406 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.9581, allocations: 1.376 MB / 0.9056 GB, free: 2.027 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002853/0.961, allocations: 2.106 MB / 0.9077 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/0.9662, allocations: 3.77 MB / 0.9114 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.9663, allocations: 4 kB / 0.9114 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008948/0.9752, allocations: 5.035 MB / 0.9163 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.9752, allocations: 12 kB / 0.9163 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/0.9753, allocations: 24 kB / 0.9163 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003711/0.979, allocations: 1.575 MB / 0.9179 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.9808, allocations: 455.2 kB / 0.9183 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/1.006, allocations: 17.91 MB / 0.9358 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/1.009, allocations: 147.9 kB / 0.9359 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002617/1.009, allocations: 108 kB / 0.936 GB, free: 1.801 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 (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.003787/1.013, allocations: 1.933 MB / 0.9379 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/1.013, allocations: 306.1 kB / 0.9382 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007578/1.021, allocations: 4.404 MB / 0.9425 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.021, allocations: 20 kB / 0.9425 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/1.021, allocations: 16 kB / 0.9426 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.021, allocations: 15.95 kB / 0.9426 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/1.039, allocations: 9.171 MB / 0.9515 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.039, allocations: 4 kB / 0.9515 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.04, allocations: 231.6 kB / 0.9517 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003588/1.043, allocations: 1.431 MB / 0.9531 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/1.044, allocations: 40 kB / 0.9532 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02471/1.068, allocations: 17.9 MB / 0.9707 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/1.068, allocations: 7.938 kB / 0.9707 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008085/1.076, allocations: 4.499 MB / 0.9751 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/1.079, allocations: 0.5722 MB / 0.9756 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005175/1.079, allocations: 36.25 kB / 0.9757 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.081, allocations: 119.9 kB / 0.9758 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/1.081, allocations: 197.7 kB / 0.976 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.081, allocations: 60 kB / 0.976 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002028/1.083, allocations: 1.315 MB / 0.9773 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.083, allocations: 0 / 0.9773 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003695/1.087, allocations: 1.141 MB / 0.9784 GB, free: 5.648 MB / 0.7481 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.008154/1.095, allocations: 5.128 MB / 0.9834 GB, free: 440 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008319/1.103, allocations: 4.54 MB / 0.9879 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.103, allocations: 4 kB / 0.9879 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005035/1.108, allocations: 2.793 MB / 0.9906 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/1.113, allocations: 0.8948 MB / 0.9915 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05964/1.173, allocations: 30.57 MB / 1.021 GB, free: 8.348 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005588/1.178, allocations: 3.163 MB / 1.024 GB, free: 5.148 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002194/1.18, allocations: 0.5557 MB / 1.025 GB, free: 4.586 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/1.183, allocations: 1.948 MB / 1.027 GB, free: 2.637 MB / 0.795 GB Notification: Performance of SimCode: time 1.804e-06/1.183, allocations: 0 / 1.027 GB, free: 2.637 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5632/1.746, allocations: 90.56 MB / 1.115 GB, free: 273 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/16.96, allocations: 3.984 kB / 1.115 GB, free: 273 MB / 0.8419 GB " [Timeout remaining time 643] (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: 21.193758891895413] Failed to read output from testmodel.py, exit status != 0: 17.12298184307292 17.133902074 16.350561522 Calling exit ...