Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009571/0.0009571, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001121/0.001121, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8861/0.8861, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.5816/0.5816, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.245e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01122/0.01124, allocations: 13.71 MB / 0.5676 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009847/0.02109, allocations: 9.826 MB / 0.5772 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008177/0.02191, allocations: 87.19 kB / 0.5773 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.02412, allocations: 1.683 MB / 0.5789 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.02758, allocations: 1.914 MB / 0.5808 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.02877, allocations: 0.7597 MB / 0.5815 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.03117, allocations: 2.847 MB / 0.5843 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.03224, allocations: 1.192 MB / 0.5855 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.0339, allocations: 2.102 MB / 0.5875 GB, free: 476 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.03475, allocations: 0.927 MB / 0.5884 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.0349, allocations: 163.9 kB / 0.5886 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/0.0358, allocations: 0.7365 MB / 0.5893 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.03617, allocations: 0.6385 MB / 0.5899 GB, free: 14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004476/0.03661, allocations: 0.6313 MB / 0.5905 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.03841, allocations: 2.78 MB / 0.5933 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.03842, allocations: 0 / 0.5933 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.452e-06/0.03842, allocations: 3.938 kB / 0.5933 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.03844, allocations: 0 / 0.5933 GB, free: 10.57 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002235/0.04068, allocations: 2.128 MB / 0.5953 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.04072, allocations: 8.625 kB / 0.5953 GB, free: 8.395 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.04089, allocations: 190.4 kB / 0.5955 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005945/0.04683, allocations: 2.125 MB / 0.5976 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.04822, allocations: 1.181 MB / 0.5988 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.04827, allocations: 90.67 kB / 0.5988 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.04845, allocations: 124.3 kB / 0.599 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.05193, allocations: 2.885 MB / 0.6018 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.05197, allocations: 11.94 kB / 0.6018 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.05208, allocations: 47.98 kB / 0.6018 GB, free: 1.492 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000341/0.05242, allocations: 198.1 kB / 0.602 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004416/0.05684, allocations: 2.783 MB / 0.6047 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00817/0.06501, allocations: 8.322 MB / 0.6129 GB, free: 6 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003576/0.06859, allocations: 2.179 MB / 0.615 GB, free: 3.816 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.07033, allocations: 1.198 MB / 0.6162 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.555e-05/0.07038, allocations: 17 kB / 0.6162 GB, free: 2.598 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.07041, allocations: 39.56 kB / 0.6162 GB, free: 2.551 MB / 0.573 GB Notification: Performance of pre-optimization done (n=89): time 2.245e-06/0.07041, allocations: 3.938 kB / 0.6162 GB, free: 2.547 MB / 0.573 GB Notification: Performance of matching and sorting (n=153): time 0.03124/0.1017, allocations: 16 MB / 0.6318 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1017, allocations: 64.72 kB / 0.6319 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1028, allocations: 1.188 MB / 0.6331 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.1029, allocations: 53.7 kB / 0.6331 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.1033, allocations: 0.7568 MB / 0.6339 GB, free: 424 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.1037, allocations: 0.5307 MB / 0.6344 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.104, allocations: 287.5 kB / 0.6346 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.1041, allocations: 304.9 kB / 0.6349 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.1062, allocations: 1.51 MB / 0.6364 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.1084, allocations: 1.784 MB / 0.6382 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/0.1129, allocations: 3.362 MB / 0.6414 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.1129, allocations: 4 kB / 0.6414 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007681/0.1205, allocations: 5.215 MB / 0.6465 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.1206, allocations: 8 kB / 0.6465 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1206, allocations: 16.03 kB / 0.6466 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003606/0.1242, allocations: 1.871 MB / 0.6484 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.1252, allocations: 407.3 kB / 0.6488 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.1442, allocations: 23.07 MB / 0.6713 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.1457, allocations: 303.5 kB / 0.6716 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.1458, allocations: 67.97 kB / 0.6717 GB, free: 8.523 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006427/0.1464, allocations: 468.4 kB / 0.6721 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.1466, allocations: 183.1 kB / 0.6723 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007669/0.1543, allocations: 5.257 MB / 0.6774 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1543, allocations: 16 kB / 0.6774 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.1543, allocations: 20 kB / 0.6774 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1543, allocations: 7.969 kB / 0.6775 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2675/0.4218, allocations: 6.967 MB / 0.6843 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.4218, allocations: 2.844 kB / 0.6843 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000933/0.4228, allocations: 353.8 kB / 0.6846 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/0.426, allocations: 1.701 MB / 0.6863 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.4262, allocations: 46.23 kB / 0.6863 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/0.4416, allocations: 22.2 MB / 0.708 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4417, allocations: 3.031 kB / 0.708 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006807/0.4485, allocations: 4.822 MB / 0.7127 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007622/0.4492, allocations: 431.2 kB / 0.7131 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.4494, allocations: 23.91 kB / 0.7131 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.4504, allocations: 318.2 kB / 0.7134 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.4509, allocations: 161.4 kB / 0.7136 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.4509, allocations: 56.81 kB / 0.7136 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006776/0.4516, allocations: 0.7911 MB / 0.7144 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4516, allocations: 1.531 kB / 0.7144 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001896/0.4535, allocations: 0.6538 MB / 0.7151 GB, free: 136.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007345/0.4609, allocations: 5.401 MB / 0.7203 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006878/0.4677, allocations: 4.916 MB / 0.7251 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.4678, allocations: 1.156 kB / 0.7251 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004388/0.4721, allocations: 3.27 MB / 0.7283 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.474, allocations: 0.5592 MB / 0.7289 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02926/0.5032, allocations: 21.82 MB / 0.7502 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.504, allocations: 0.9867 MB / 0.7511 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00111/0.5052, allocations: 384.7 kB / 0.7515 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.5057, allocations: 0.6608 MB / 0.7522 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.312e-06/0.5057, allocations: 0 / 0.7522 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08874/0.5944, allocations: 63.84 MB / 0.8145 GB, free: 58.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.746/9.341, allocations: 4.062 kB / 0.8145 GB, free: 58.79 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.985902003012598] Failed to read output from testmodel.py, exit status != 0: 9.455441531725228 9.467410444 9.426672478 Calling exit ...