Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0007722/0.0007722, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009296/0.0009296, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.922/0.922, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002102/0.002102, allocations: 237.6 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6669/0.6669, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.069e-05, allocations: 3.281 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01557/0.01559, allocations: 25.05 MB / 0.6708 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.008861/0.02445, allocations: 7.972 MB / 0.6786 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.02629, allocations: 154.8 kB / 0.6787 GB, free: 416 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.02998, allocations: 2.789 MB / 0.6814 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.03354, allocations: 1.713 MB / 0.6831 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.03679, allocations: 1.696 MB / 0.6848 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005989/0.04278, allocations: 6.254 MB / 0.6909 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/0.04705, allocations: 3.769 MB / 0.6946 GB, free: 56 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.05103, allocations: 3.723 MB / 0.6982 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.05383, allocations: 2.634 MB / 0.7008 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.05431, allocations: 0.5117 MB / 0.7013 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.05607, allocations: 1.224 MB / 0.7025 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.05737, allocations: 2.19 MB / 0.7046 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.05865, allocations: 1.665 MB / 0.7062 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005771/0.06443, allocations: 8.208 MB / 0.7142 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.06443, allocations: 4 kB / 0.7142 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.06443, allocations: 0 / 0.7142 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001268/0.06456, allocations: 0 / 0.7142 GB, free: 11.85 MB / 0.5573 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.005505/0.07006, allocations: 4.22 MB / 0.7184 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.07011, allocations: 12.75 kB / 0.7184 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005005/0.07061, allocations: 0.5382 MB / 0.7189 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.07293, allocations: 0.8296 MB / 0.7197 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.07603, allocations: 2.529 MB / 0.7222 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.07615, allocations: 275.6 kB / 0.7224 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006906/0.07684, allocations: 372.8 kB / 0.7228 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006495/0.08334, allocations: 6.448 MB / 0.7291 GB, free: 12.15 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.4e-05/0.0834, allocations: 23.83 kB / 0.7291 GB, free: 12.12 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004909/0.08389, allocations: 156 kB / 0.7293 GB, free: 11.97 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003146/0.08421, allocations: 286.9 kB / 0.7295 GB, free: 11.69 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005096/0.0893, allocations: 4.52 MB / 0.734 GB, free: 7.164 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/0.1043, allocations: 17.97 MB / 0.7515 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.1053, allocations: 1.06 MB / 0.7525 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/0.1062, allocations: 0.9602 MB / 0.7535 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.448e-05/0.1062, allocations: 13 kB / 0.7535 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1063, allocations: 43.56 kB / 0.7535 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=110): time 3.046e-06/0.1063, allocations: 0 / 0.7535 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=131): time 0.0128/0.1191, allocations: 9.103 MB / 0.7624 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1191, allocations: 64.72 kB / 0.7625 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.1205, allocations: 1.529 MB / 0.764 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/0.1206, allocations: 45.7 kB / 0.764 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000945/0.1215, allocations: 1.711 MB / 0.7657 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.1218, allocations: 491.8 kB / 0.7662 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.1221, allocations: 327.4 kB / 0.7665 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.1222, allocations: 301.1 kB / 0.7668 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008574/0.123, allocations: 0.9213 MB / 0.7677 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.1241, allocations: 1.463 MB / 0.7691 GB, free: 2.301 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/0.1264, allocations: 2.546 MB / 0.7716 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.1264, allocations: 4 kB / 0.7716 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003538/0.1299, allocations: 3.275 MB / 0.7748 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.13, allocations: 12 kB / 0.7748 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.13, allocations: 23.94 kB / 0.7748 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.1312, allocations: 0.7375 MB / 0.7755 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008165/0.132, allocations: 383.4 kB / 0.7759 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009601/0.1416, allocations: 16 MB / 0.7915 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.1428, allocations: 111.8 kB / 0.7916 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.1429, allocations: 79.92 kB / 0.7917 GB, free: 9.797 MB / 0.6355 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.001873/0.1448, allocations: 1.31 MB / 0.793 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.145, allocations: 206.7 kB / 0.7932 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.1479, allocations: 2.765 MB / 0.7959 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1479, allocations: 16 kB / 0.7959 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1479, allocations: 4 kB / 0.7959 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1479, allocations: 7.984 kB / 0.7959 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006544/0.1545, allocations: 5.9 MB / 0.8017 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.1545, allocations: 4 kB / 0.8017 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.1551, allocations: 231.7 kB / 0.8019 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.1561, allocations: 0.6638 MB / 0.8025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.1562, allocations: 36 kB / 0.8026 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009154/0.1653, allocations: 15.74 MB / 0.818 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1653, allocations: 4 kB / 0.818 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/0.1694, allocations: 3.994 MB / 0.8219 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.1701, allocations: 386.6 kB / 0.8222 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.1702, allocations: 35.98 kB / 0.8223 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004982/0.1707, allocations: 79.89 kB / 0.8223 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.171, allocations: 128.8 kB / 0.8225 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.171, allocations: 40 kB / 0.8225 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009562/0.172, allocations: 0.9903 MB / 0.8235 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.9e-07/0.172, allocations: 0 / 0.8235 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001576/0.1736, allocations: 0.6836 MB / 0.8241 GB, free: 7.223 MB / 0.6667 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.004198/0.1778, allocations: 4.591 MB / 0.8286 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003485/0.1812, allocations: 3.377 MB / 0.8319 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.1813, allocations: 0.875 kB / 0.8319 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.1833, allocations: 2.232 MB / 0.8341 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.1852, allocations: 0.6845 MB / 0.8348 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/0.209, allocations: 21.2 MB / 0.8555 GB, free: 5.938 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.2108, allocations: 2.105 MB / 0.8575 GB, free: 3.797 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009786/0.2118, allocations: 489.4 kB / 0.858 GB, free: 3.316 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/0.2127, allocations: 1.281 MB / 0.8592 GB, free: 2.035 MB / 0.698 GB Notification: Performance of SimCode: time 1.803e-06/0.2127, allocations: 0 / 0.8592 GB, free: 2.035 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3316/0.5444, allocations: 61.46 MB / 0.9193 GB, free: 154.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.675, allocations: 3.562 kB / 0.9193 GB, free: 154.4 MB / 0.698 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.665093762800097] Failed to read output from testmodel.py, exit status != 0: 8.78471362311393 8.790787572 8.724650006 Calling exit ...