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.001752/0.001752, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002249/0.002249, allocations: 221 kB / 23 MB, free: 5.004 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9463/0.9463, allocations: 150 MB / 463.2 MB, free: 10.52 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="me",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="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.002066/0.002066, allocations: 68.62 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1653, allocations: 89.17 MB / 0.7284 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.4069/0.5722, allocations: 36.63 MB / 0.7642 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.5899, allocations: 11.98 MB / 0.7758 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.593, allocations: 207.8 kB / 0.776 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.6032, allocations: 4.447 MB / 0.7804 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006174/0.6094, allocations: 2.098 MB / 0.7824 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00646/0.6159, allocations: 2.463 MB / 0.7848 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.627, allocations: 8.465 MB / 0.7931 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.6371, allocations: 6.244 MB / 0.7992 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007685/0.6448, allocations: 3.841 MB / 0.803 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00832/0.6531, allocations: 4.432 MB / 0.8073 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003368/0.6564, allocations: 0.7797 MB / 0.808 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007081/0.6635, allocations: 2.066 MB / 0.8101 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005533/0.6691, allocations: 3.138 MB / 0.8131 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008035/0.6771, allocations: 3.401 MB / 0.8165 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.6924, allocations: 12.01 MB / 0.8282 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.6924, allocations: 0 / 0.8282 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6924, allocations: 3.938 kB / 0.8282 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004057/0.6928, allocations: 4 kB / 0.8282 GB, free: 4.34 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.01659/0.7094, allocations: 5.863 MB / 0.8339 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.7095, allocations: 8.031 kB / 0.8339 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002953/0.7124, allocations: 0.8089 MB / 0.8347 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/0.7202, allocations: 1.082 MB / 0.8358 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008997/0.7292, allocations: 3.411 MB / 0.8391 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.7296, allocations: 415.5 kB / 0.8395 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001975/0.7316, allocations: 0.5372 MB / 0.84 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02347/0.7551, allocations: 9.082 MB / 0.8489 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003325/0.7554, allocations: 35.7 kB / 0.8489 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/0.7574, allocations: 244 kB / 0.8492 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004732/0.7579, allocations: 346.8 kB / 0.8495 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.7754, allocations: 6.826 MB / 0.8562 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05515/0.8305, allocations: 39.5 MB / 0.8947 GB, free: 12.03 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.8342, allocations: 2.298 MB / 0.897 GB, free: 9.734 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/0.837, allocations: 1.783 MB / 0.8987 GB, free: 7.957 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.733e-05/0.8371, allocations: 21.94 kB / 0.8987 GB, free: 7.938 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.8371, allocations: 56.38 kB / 0.8988 GB, free: 7.875 MB / 0.67 GB Notification: Performance of pre-optimization done (n=179): time 3.266e-06/0.8371, allocations: 0 / 0.8988 GB, free: 7.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.02579/0.8629, allocations: 9.689 MB / 0.9083 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.863, allocations: 69.41 kB / 0.9083 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.8653, allocations: 1.53 MB / 0.9098 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.8655, allocations: 57.7 kB / 0.9099 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.8674, allocations: 2.327 MB / 0.9121 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007404/0.8681, allocations: 0.6545 MB / 0.9128 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006836/0.8688, allocations: 408.2 kB / 0.9132 GB, free: 9.035 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8689, allocations: 309.1 kB / 0.9135 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.8707, allocations: 1.176 MB / 0.9146 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.8731, allocations: 1.881 MB / 0.9165 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004619/0.8778, allocations: 3.372 MB / 0.9197 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.8778, allocations: 8 kB / 0.9198 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008225/0.886, allocations: 4.539 MB / 0.9242 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.886, allocations: 16 kB / 0.9242 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/0.8861, allocations: 28.16 kB / 0.9242 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.8901, allocations: 1.576 MB / 0.9258 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.8913, allocations: 347.4 kB / 0.9261 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02579/0.9171, allocations: 18.19 MB / 0.9439 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.919, allocations: 119.8 kB / 0.944 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.9193, allocations: 104 kB / 0.9441 GB, free: 8.273 MB / 0.7169 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.004195/0.9235, allocations: 1.892 MB / 0.9459 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/0.9242, allocations: 234.5 kB / 0.9461 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/0.932, allocations: 4.043 MB / 0.9501 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.932, allocations: 24 kB / 0.9501 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/0.9321, allocations: 16 kB / 0.9501 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.9321, allocations: 11.91 kB / 0.9501 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/0.95, allocations: 9.398 MB / 0.9593 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.95, allocations: 4 kB / 0.9593 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00087/0.9508, allocations: 183.7 kB / 0.9595 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003686/0.9545, allocations: 1.349 MB / 0.9608 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/0.9547, allocations: 36 kB / 0.9609 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02338/0.9781, allocations: 16.96 MB / 0.9774 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.9781, allocations: 4.5 kB / 0.9774 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007337/0.9854, allocations: 4.048 MB / 0.9814 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.9868, allocations: 478.3 kB / 0.9818 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.9871, allocations: 36 kB / 0.9819 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/0.988, allocations: 91.89 kB / 0.982 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/0.9884, allocations: 173.5 kB / 0.9821 GB, free: 488 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.9885, allocations: 44 kB / 0.9822 GB, free: 444 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001455/0.99, allocations: 1.005 MB / 0.9831 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.99, allocations: 0 / 0.9831 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00323/0.9932, allocations: 0.9883 MB / 0.9841 GB, free: 14.42 MB / 0.7637 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.007985/1.001, allocations: 4.641 MB / 0.9886 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007838/1.009, allocations: 4.162 MB / 0.9927 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.009, allocations: 4 kB / 0.9927 GB, free: 5.461 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004965/1.014, allocations: 2.58 MB / 0.9952 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/1.018, allocations: 0.7779 MB / 0.996 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0475/1.066, allocations: 27.01 MB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005342/1.071, allocations: 3.58 MB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001499/1.073, allocations: 467.9 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/1.075, allocations: 1.784 MB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of SimCode: time 2.074e-06/1.075, allocations: 4 kB / 1.028 GB, free: 148 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4985/1.574, allocations: 76.48 MB / 1.103 GB, free: 271.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/17.62, allocations: 1.062 kB / 1.103 GB, free: 271.4 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 21.51492203000089] Failed to read output from testmodel.py, exit status != 0: 17.773479937000957 17.798787112 17.101581084 Calling exit ...