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.000837/0.000837, allocations: 76.5 kB / 19.92 MB, free: 4.633 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.0008355/0.0008355, allocations: 170.3 kB / 23.2 MB, free: 1.359 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.8739/0.8739, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5502/0.5502, allocations: 114 MB / 373.9 MB, free: 8.707 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.613e-06/1.613e-06, allocations: 0 / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.127e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01048/0.0105, allocations: 13.72 MB / 0.5676 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00969/0.02019, allocations: 9.818 MB / 0.5772 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.02231, allocations: 91.19 kB / 0.5773 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.02494, allocations: 1.697 MB / 0.5789 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.02919, allocations: 1.905 MB / 0.5808 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.03062, allocations: 0.7663 MB / 0.5815 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002969/0.03359, allocations: 2.828 MB / 0.5843 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.03494, allocations: 1.203 MB / 0.5855 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.03707, allocations: 2.098 MB / 0.5875 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.03817, allocations: 0.9426 MB / 0.5884 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.03842, allocations: 156 kB / 0.5886 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.03949, allocations: 0.7365 MB / 0.5893 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.03992, allocations: 0.6308 MB / 0.5899 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009324/0.04085, allocations: 0.6429 MB / 0.5905 GB, free: 13.42 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.04328, allocations: 2.773 MB / 0.5932 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.04329, allocations: 4 kB / 0.5933 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.814e-06/0.04329, allocations: 0 / 0.5933 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.6e-05/0.04334, allocations: 0 / 0.5933 GB, free: 10.63 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.002976/0.04631, allocations: 2.124 MB / 0.5953 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.04637, allocations: 8.625 kB / 0.5953 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002189/0.04659, allocations: 198.3 kB / 0.5955 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005603/0.05219, allocations: 2.125 MB / 0.5976 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.0542, allocations: 1.181 MB / 0.5988 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.05425, allocations: 86.69 kB / 0.5988 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.05447, allocations: 120.3 kB / 0.5989 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/0.05808, allocations: 2.885 MB / 0.6018 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.05811, allocations: 3.938 kB / 0.6018 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.05823, allocations: 55.98 kB / 0.6018 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000347/0.05858, allocations: 194.1 kB / 0.602 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/0.06274, allocations: 2.787 MB / 0.6047 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009031/0.07177, allocations: 8.325 MB / 0.6129 GB, free: 6.062 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/0.07514, allocations: 2.171 MB / 0.615 GB, free: 3.887 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.07679, allocations: 1.202 MB / 0.6162 GB, free: 2.684 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.07685, allocations: 13 kB / 0.6162 GB, free: 2.668 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.07689, allocations: 47.5 kB / 0.6162 GB, free: 2.613 MB / 0.573 GB Notification: Performance of pre-optimization done (n=89): time 4.488e-06/0.0769, allocations: 0 / 0.6162 GB, free: 2.613 MB / 0.573 GB Notification: Performance of matching and sorting (n=153): time 0.0295/0.1064, allocations: 15.99 MB / 0.6318 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.1064, allocations: 80.7 kB / 0.6319 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.108, allocations: 1.184 MB / 0.6331 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.1082, allocations: 61.52 kB / 0.6331 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006682/0.1089, allocations: 0.7529 MB / 0.6339 GB, free: 488 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000597/0.1095, allocations: 0.5306 MB / 0.6344 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004348/0.1099, allocations: 287.5 kB / 0.6346 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1101, allocations: 309.1 kB / 0.6349 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.1122, allocations: 1.51 MB / 0.6364 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.1144, allocations: 1.776 MB / 0.6382 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/0.1186, allocations: 3.369 MB / 0.6414 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1186, allocations: 0 / 0.6414 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007491/0.1261, allocations: 5.219 MB / 0.6465 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.1261, allocations: 10.5 kB / 0.6465 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1262, allocations: 4 kB / 0.6466 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/0.1297, allocations: 1.871 MB / 0.6484 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.1307, allocations: 419.3 kB / 0.6488 GB, free: 0.918 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/0.1489, allocations: 23.06 MB / 0.6713 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.1505, allocations: 311.6 kB / 0.6716 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.1506, allocations: 64.53 kB / 0.6717 GB, free: 8.586 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.0007308/0.1514, allocations: 470 kB / 0.6721 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.1516, allocations: 182.9 kB / 0.6723 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007263/0.1588, allocations: 5.246 MB / 0.6774 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1589, allocations: 15.94 kB / 0.6774 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-05/0.1589, allocations: 20 kB / 0.6774 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.1589, allocations: 11.91 kB / 0.6774 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2634/0.4223, allocations: 6.969 MB / 0.6843 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4223, allocations: 6.438 kB / 0.6843 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.4231, allocations: 349.2 kB / 0.6846 GB, free: 154 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003094/0.4262, allocations: 1.698 MB / 0.6863 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.4263, allocations: 41.73 kB / 0.6863 GB, free: 153.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/0.4408, allocations: 22.21 MB / 0.708 GB, free: 139 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4408, allocations: 4.344 kB / 0.708 GB, free: 139 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.4474, allocations: 4.819 MB / 0.7127 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/0.4483, allocations: 430.7 kB / 0.7131 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.4484, allocations: 32.38 kB / 0.7131 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.4495, allocations: 316.6 kB / 0.7134 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/0.45, allocations: 154.9 kB / 0.7136 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.4501, allocations: 53.31 kB / 0.7136 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007212/0.4508, allocations: 0.7941 MB / 0.7144 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4508, allocations: 0 / 0.7144 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001871/0.4527, allocations: 0.6548 MB / 0.715 GB, free: 136.7 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.007521/0.4602, allocations: 5.409 MB / 0.7203 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006878/0.4671, allocations: 4.91 MB / 0.7251 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.4671, allocations: 1.156 kB / 0.7251 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004161/0.4712, allocations: 3.275 MB / 0.7283 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.4731, allocations: 0.5563 MB / 0.7289 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/0.5021, allocations: 21.83 MB / 0.7502 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009252/0.503, allocations: 0.9859 MB / 0.7511 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00113/0.5042, allocations: 383.6 kB / 0.7515 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/0.5047, allocations: 0.6573 MB / 0.7522 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.5047, allocations: 0 / 0.7522 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07557/0.5803, allocations: 63.83 MB / 0.8145 GB, free: 59.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/9.258, allocations: 11.08 kB / 0.8145 GB, free: 59.03 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.775759799405932] Failed to read output from testmodel.py, exit status != 0: 9.36671229545027 9.372521597 9.327657353 Calling exit ...