Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 113.5 kB / 17.08 MB, free: 5.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 191.7 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8386/0.8386, allocations: 126.7 MB / 424.6 MB, free: 6.238 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.89 kB / 0.5821 GB, free: 12.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4588, allocations: 78.86 MB / 0.6591 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02857/0.4875, allocations: 26.65 MB / 0.6851 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01895/0.5065, allocations: 8.075 MB / 0.693 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.511, allocations: 115.8 kB / 0.6931 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00892/0.52, allocations: 2.759 MB / 0.6958 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006222/0.5263, allocations: 1.577 MB / 0.6973 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.5317, allocations: 1.686 MB / 0.699 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009606/0.5414, allocations: 6.144 MB / 0.705 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.5538, allocations: 7.31 MB / 0.7121 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.5596, allocations: 2.566 MB / 0.7146 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005621/0.5652, allocations: 2.839 MB / 0.7174 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001999/0.5672, allocations: 0.5078 MB / 0.7179 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.5714, allocations: 1.287 MB / 0.7191 GB, free: 196 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004656/0.5761, allocations: 2.047 MB / 0.7211 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007573/0.5837, allocations: 2.377 MB / 0.7235 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.5976, allocations: 8.075 MB / 0.7313 GB, free: 3.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.5977, allocations: 0 / 0.7313 GB, free: 3.648 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.987e-06/0.5977, allocations: 0 / 0.7313 GB, free: 3.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003226/0.598, allocations: 3.938 kB / 0.7314 GB, free: 3.645 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01432/0.6124, allocations: 4.336 MB / 0.7356 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.6124, allocations: 8.031 kB / 0.7356 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001235/0.6137, allocations: 0.546 MB / 0.7361 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/0.6184, allocations: 0.8141 MB / 0.7369 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/0.6239, allocations: 2.59 MB / 0.7395 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.6242, allocations: 279.6 kB / 0.7397 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009547/0.6251, allocations: 376.4 kB / 0.7401 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.6373, allocations: 5.992 MB / 0.7459 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.6374, allocations: 15.88 kB / 0.7459 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005682/0.638, allocations: 152 kB / 0.7461 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000664/0.6387, allocations: 286.9 kB / 0.7464 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008964/0.6477, allocations: 4.524 MB / 0.7508 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03527/0.683, allocations: 27.51 MB / 0.7776 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.6848, allocations: 1.12 MB / 0.7787 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.6863, allocations: 1.02 MB / 0.7797 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.029e-05/0.6864, allocations: 9 kB / 0.7797 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.6864, allocations: 47.56 kB / 0.7798 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.326e-06/0.6864, allocations: 0 / 0.7798 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.02296/0.7094, allocations: 9.732 MB / 0.7893 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.7095, allocations: 64.72 kB / 0.7894 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.7117, allocations: 1.498 MB / 0.7908 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.7119, allocations: 49.7 kB / 0.7909 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.7133, allocations: 1.711 MB / 0.7925 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/0.7139, allocations: 499.8 kB / 0.793 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005562/0.7144, allocations: 331.4 kB / 0.7933 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.7146, allocations: 309 kB / 0.7936 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.716, allocations: 0.9174 MB / 0.7945 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.7181, allocations: 1.455 MB / 0.7959 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003641/0.7217, allocations: 2.55 MB / 0.7984 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.7218, allocations: 4 kB / 0.7984 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006383/0.7281, allocations: 3.299 MB / 0.8017 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.7282, allocations: 16.03 kB / 0.8017 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.7282, allocations: 16 kB / 0.8017 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.7307, allocations: 0.7334 MB / 0.8024 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.7324, allocations: 391.3 kB / 0.8028 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/0.7512, allocations: 17.05 MB / 0.8194 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.7529, allocations: 99.89 kB / 0.8195 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.7531, allocations: 72 kB / 0.8196 GB, free: 4.32 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002319/0.7554, allocations: 1.319 MB / 0.8209 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/0.7559, allocations: 210.7 kB / 0.8211 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.7614, allocations: 2.785 MB / 0.8238 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.7614, allocations: 19.98 kB / 0.8238 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.7614, allocations: 8 kB / 0.8238 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.7615, allocations: 7.969 kB / 0.8238 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.7728, allocations: 6.217 MB / 0.8299 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.7728, allocations: 4 kB / 0.8299 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.7741, allocations: 235.6 kB / 0.8301 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/0.7761, allocations: 0.6677 MB / 0.8308 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.7763, allocations: 36.06 kB / 0.8308 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.796, allocations: 16.79 MB / 0.8472 GB, free: 6.531 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.7961, allocations: 11.94 kB / 0.8472 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007114/0.8032, allocations: 4.017 MB / 0.8511 GB, free: 2.387 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.8044, allocations: 467.6 kB / 0.8516 GB, free: 1.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.8047, allocations: 35.92 kB / 0.8516 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.8057, allocations: 83.89 kB / 0.8517 GB, free: 1.793 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003498/0.806, allocations: 120.7 kB / 0.8518 GB, free: 1.676 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/0.8061, allocations: 39.94 kB / 0.8519 GB, free: 1.637 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001546/0.8077, allocations: 0.9903 MB / 0.8528 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8077, allocations: 0 / 0.8528 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002632/0.8103, allocations: 0.6836 MB / 0.8535 GB, free: 15.97 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.007048/0.8174, allocations: 4.614 MB / 0.858 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006133/0.8236, allocations: 3.538 MB / 0.8615 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.8236, allocations: 0 / 0.8615 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/0.8274, allocations: 2.287 MB / 0.8637 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/0.8307, allocations: 0.681 MB / 0.8644 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4281/1.259, allocations: 21.25 MB / 0.8851 GB, free: 174.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003156/1.262, allocations: 2.662 MB / 0.8877 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001546/1.264, allocations: 483.9 kB / 0.8882 GB, free: 173 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.265, allocations: 1.284 MB / 0.8894 GB, free: 172 MB / 0.6856 GB Notification: Performance of SimCode: time 1.092e-06/1.265, allocations: 1.281 kB / 0.8894 GB, free: 172 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/1.383, allocations: 57.19 MB / 0.9453 GB, free: 132.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.46, allocations: 5.375 kB / 0.9453 GB, free: 132.4 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.09067595808301] Failed to read output from testmodel.py, exit status != 0: 15.567030900041573 15.577975965 14.978092321 Calling exit ...