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.001269/0.001269, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.001662/0.001662, allocations: 226.2 kB / 23.06 MB, free: 4.941 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.03692/0.03692, allocations: 6.127 MB / 319.4 MB, free: 12.97 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 51.92 kB / 444.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.1008, allocations: 55.02 MB / 499.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002869/0.1037, allocations: 1.662 MB / 0.4894 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1059, allocations: 1.626 MB / 0.491 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.106, allocations: 4 kB / 0.491 GB, free: 11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.1064, allocations: 135.3 kB / 0.4912 GB, free: 10.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.1067, allocations: 119.2 kB / 0.4913 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.1084, allocations: 0.9127 MB / 0.4922 GB, free: 9.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.1088, allocations: 266.8 kB / 0.4924 GB, free: 9.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1089, allocations: 60.73 kB / 0.4925 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.109, allocations: 111.6 kB / 0.4926 GB, free: 9.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1093, allocations: 139.4 kB / 0.4927 GB, free: 9.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1093, allocations: 20 kB / 0.4927 GB, free: 9.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.1097, allocations: 219.8 kB / 0.4929 GB, free: 9.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.1097, allocations: 55.77 kB / 0.493 GB, free: 8.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1099, allocations: 123.3 kB / 0.4931 GB, free: 8.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.1104, allocations: 418.6 kB / 0.4935 GB, free: 8.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1104, allocations: 4 kB / 0.4935 GB, free: 8.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1104, allocations: 0 / 0.4935 GB, free: 8.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1104, allocations: 0 / 0.4935 GB, free: 8.445 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.002828/0.1133, allocations: 0.7819 MB / 0.4943 GB, free: 7.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.1133, allocations: 16.03 kB / 0.4943 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1134, allocations: 54.72 kB / 0.4943 GB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1135, allocations: 28.8 kB / 0.4944 GB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.114, allocations: 203.8 kB / 0.4946 GB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1141, allocations: 12.81 kB / 0.4946 GB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-05/0.1141, allocations: 28.31 kB / 0.4946 GB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.1149, allocations: 299.7 kB / 0.4949 GB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.115, allocations: 3.938 kB / 0.4949 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.115, allocations: 4 kB / 0.4949 GB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.115, allocations: 12 kB / 0.4949 GB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.1157, allocations: 285.6 kB / 0.4952 GB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.1181, allocations: 1.003 MB / 0.4962 GB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.1196, allocations: 358.7 kB / 0.4965 GB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.12, allocations: 156.8 kB / 0.4967 GB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.277e-05/0.1201, allocations: 12.42 kB / 0.4967 GB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.1201, allocations: 46.44 kB / 0.4967 GB, free: 4.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.775e-06/0.1201, allocations: 4 kB / 0.4967 GB, free: 4.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.004709/0.1248, allocations: 0.8726 MB / 0.4976 GB, free: 4.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.1249, allocations: 55.41 kB / 0.4976 GB, free: 4.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.1253, allocations: 215.7 kB / 0.4978 GB, free: 3.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.1254, allocations: 33.7 kB / 0.4979 GB, free: 3.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1256, allocations: 136.8 kB / 0.498 GB, free: 3.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.1257, allocations: 119 kB / 0.4981 GB, free: 3.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.1259, allocations: 73.64 kB / 0.4982 GB, free: 3.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.1262, allocations: 330.8 kB / 0.4985 GB, free: 3.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.1266, allocations: 179.9 kB / 0.4987 GB, free: 2.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.1271, allocations: 183.8 kB / 0.4988 GB, free: 2.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.128, allocations: 397.4 kB / 0.4992 GB, free: 2.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.128, allocations: 0 / 0.4992 GB, free: 2.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002349/0.1304, allocations: 0.6541 MB / 0.4999 GB, free: 1.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1304, allocations: 4 kB / 0.4999 GB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1304, allocations: 3.984 kB / 0.4999 GB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/0.1321, allocations: 252.6 kB / 0.5001 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.1325, allocations: 55.84 kB / 0.5002 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.1385, allocations: 2.591 MB / 0.5027 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.1389, allocations: 27.72 kB / 0.5027 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.139, allocations: 12 kB / 0.5027 GB, free: 14.65 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.0002485/0.1392, allocations: 141.8 kB / 0.5029 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1393, allocations: 27.89 kB / 0.5029 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.1416, allocations: 0.5989 MB / 0.5035 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1416, allocations: 0 / 0.5035 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.1416, allocations: 8 kB / 0.5035 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.1416, allocations: 7.922 kB / 0.5035 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.1446, allocations: 1.026 MB / 0.5045 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1446, allocations: 0 / 0.5045 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.1447, allocations: 31.92 kB / 0.5045 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.1463, allocations: 244.6 kB / 0.5048 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.1463, allocations: 11.94 kB / 0.5048 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005636/0.1519, allocations: 2.561 MB / 0.5073 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1519, allocations: 0 / 0.5073 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.1541, allocations: 0.649 MB / 0.5079 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.1542, allocations: 31.78 kB / 0.5079 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.1543, allocations: 4 kB / 0.5079 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.1546, allocations: 8 kB / 0.5079 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.1547, allocations: 31.94 kB / 0.508 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.1548, allocations: 4 kB / 0.508 GB, free: 9.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.155, allocations: 166.8 kB / 0.5081 GB, free: 8.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.155, allocations: 0 / 0.5081 GB, free: 8.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007868/0.1558, allocations: 111.9 kB / 0.5082 GB, free: 8.789 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.002616/0.1584, allocations: 1.197 MB / 0.5094 GB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.1605, allocations: 0.5924 MB / 0.51 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.1605, allocations: 4 kB / 0.51 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.1618, allocations: 378.4 kB / 0.5104 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.1623, allocations: 23.98 kB / 0.5104 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008433/0.1708, allocations: 3.356 MB / 0.5137 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.1713, allocations: 0.7484 MB / 0.5144 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1715, allocations: 37.95 kB / 0.5144 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.1717, allocations: 67.41 kB / 0.5145 GB, free: 2.234 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1717, allocations: 0 / 0.5145 GB, free: 2.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.329/0.5007, allocations: 9.393 MB / 0.5237 GB, free: 30 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.83, allocations: 8.625 kB / 0.5237 GB, free: 30 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.531941500994435] Failed to read output from testmodel.py, exit status != 0: 13.946793609000451 13.961799693 13.848709382000001 Calling exit ...