Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.001296/0.001296, allocations: 96.38 kB / 20.52 MB, free: 1.328 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.001491/0.001491, allocations: 213.6 kB / 23.82 MB, free: 4.48 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.539/1.539, allocations: 230.6 MB / 257.6 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03753/0.03753, allocations: 6.139 MB / 320.1 MB, free: 12.75 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.94 kB / 445.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 55.03 MB / 0.4885 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002829/0.1082, allocations: 1.491 MB / 0.49 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1104, allocations: 1.552 MB / 0.4915 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.928e-05/0.1105, allocations: 4 kB / 0.4915 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.1108, allocations: 131.3 kB / 0.4916 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.1112, allocations: 115.2 kB / 0.4917 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.1128, allocations: 0.8364 MB / 0.4925 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.1132, allocations: 254.8 kB / 0.4928 GB, free: 9.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1134, allocations: 68.72 kB / 0.4928 GB, free: 9.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1135, allocations: 107.6 kB / 0.4929 GB, free: 9.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.1138, allocations: 147.3 kB / 0.4931 GB, free: 9.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.1138, allocations: 24 kB / 0.4931 GB, free: 9.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.1142, allocations: 215.8 kB / 0.4933 GB, free: 9.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.1143, allocations: 55.77 kB / 0.4934 GB, free: 8.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1144, allocations: 99.47 kB / 0.4935 GB, free: 8.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.115, allocations: 418.6 kB / 0.4939 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.115, allocations: 0 / 0.4939 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.115, allocations: 0 / 0.4939 GB, free: 8.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.115, allocations: 0 / 0.4939 GB, free: 8.465 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002782/0.1178, allocations: 0.7897 MB / 0.4946 GB, free: 7.641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1178, allocations: 8.031 kB / 0.4946 GB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.6e-05/0.1178, allocations: 4.625 kB / 0.4946 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.1179, allocations: 54.73 kB / 0.4947 GB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.118, allocations: 24.8 kB / 0.4947 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.1183, allocations: 215.7 kB / 0.4949 GB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1183, allocations: 12.81 kB / 0.4949 GB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.1184, allocations: 32.36 kB / 0.495 GB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.1189, allocations: 398.3 kB / 0.4953 GB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1189, allocations: 4 kB / 0.4953 GB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.119, allocations: 8 kB / 0.4954 GB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.119, allocations: 4 kB / 0.4954 GB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.1194, allocations: 285.6 kB / 0.4956 GB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.121, allocations: 0.7786 MB / 0.4964 GB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.122, allocations: 350.6 kB / 0.4967 GB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.1222, allocations: 156.8 kB / 0.4969 GB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.1223, allocations: 12.42 kB / 0.4969 GB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1223, allocations: 38.56 kB / 0.4969 GB, free: 5.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.1223, allocations: 4 kB / 0.4969 GB, free: 5.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.003065/0.1254, allocations: 0.8687 MB / 0.4978 GB, free: 4.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.1254, allocations: 55.41 kB / 0.4978 GB, free: 4.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.1257, allocations: 223.7 kB / 0.498 GB, free: 3.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.1257, allocations: 33.7 kB / 0.4981 GB, free: 3.938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1259, allocations: 140.8 kB / 0.4982 GB, free: 3.797 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.126, allocations: 107 kB / 0.4983 GB, free: 3.691 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1261, allocations: 77.58 kB / 0.4984 GB, free: 3.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1263, allocations: 338.8 kB / 0.4987 GB, free: 3.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.1266, allocations: 175.9 kB / 0.4989 GB, free: 3.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.1268, allocations: 187.9 kB / 0.4991 GB, free: 2.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.1274, allocations: 393.5 kB / 0.4994 GB, free: 2.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1274, allocations: 0 / 0.4994 GB, free: 2.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001533/0.129, allocations: 0.654 MB / 0.5001 GB, free: 1.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.129, allocations: 4 kB / 0.5001 GB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.129, allocations: 3.938 kB / 0.5001 GB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.1302, allocations: 248.5 kB / 0.5003 GB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.1304, allocations: 51.97 kB / 0.5004 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/0.1345, allocations: 2.548 MB / 0.5029 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.1348, allocations: 31.83 kB / 0.5029 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.1348, allocations: 19.86 kB / 0.5029 GB, free: 14.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.135, allocations: 137.8 kB / 0.503 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/0.1351, allocations: 23.86 kB / 0.5031 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.1366, allocations: 0.599 MB / 0.5036 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1366, allocations: 4 kB / 0.5036 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1366, allocations: 0 / 0.5036 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1366, allocations: 3.938 kB / 0.5036 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.1386, allocations: 0.9632 MB / 0.5046 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.1386, allocations: 4 kB / 0.5046 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.1387, allocations: 31.98 kB / 0.5046 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.1398, allocations: 240.9 kB / 0.5049 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.1398, allocations: 11.94 kB / 0.5049 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003998/0.1438, allocations: 2.518 MB / 0.5073 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1438, allocations: 0 / 0.5073 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.1453, allocations: 0.653 MB / 0.508 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.1454, allocations: 23.8 kB / 0.508 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.1454, allocations: 4 kB / 0.508 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1457, allocations: 19.98 kB / 0.508 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.1458, allocations: 23.95 kB / 0.508 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.1458, allocations: 8 kB / 0.508 GB, free: 9.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.146, allocations: 166.8 kB / 0.5082 GB, free: 9.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.146, allocations: 0 / 0.5082 GB, free: 9.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.1465, allocations: 111.9 kB / 0.5083 GB, free: 9.102 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001877/0.1484, allocations: 1.201 MB / 0.5095 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.1499, allocations: 0.5962 MB / 0.5101 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1499, allocations: 0 / 0.5101 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009345/0.1508, allocations: 382.4 kB / 0.5104 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.1512, allocations: 22.81 kB / 0.5104 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.1571, allocations: 3.365 MB / 0.5137 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.1573, allocations: 138.7 kB / 0.5139 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.1574, allocations: 37.92 kB / 0.5139 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1576, allocations: 71.41 kB / 0.514 GB, free: 3.145 MB / 382.1 MB Notification: Performance of SimCode: time 1.522e-06/0.1576, allocations: 3.938 kB / 0.514 GB, free: 3.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/0.4102, allocations: 8.651 MB / 0.5224 GB, free: 30.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/13.98, allocations: 8.531 kB / 0.5224 GB, free: 30.31 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.73750596505124] Failed to read output from testmodel.py, exit status != 0: 14.15588758897502 14.181494701 14.061962313 Calling exit ...