Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.001331/0.001331, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.001712/0.001712, allocations: 219.2 kB / 23.05 MB, free: 4.996 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.074 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.03879/0.03879, allocations: 6.124 MB / 319.4 MB, free: 13.01 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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 47.94 kB / 444.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 55.01 MB / 499.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002913/0.1203, allocations: 1.592 MB / 0.4894 GB, free: 12.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.1226, allocations: 1.618 MB / 0.4909 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1227, allocations: 4 kB / 0.491 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.1231, allocations: 131.3 kB / 0.4911 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.1235, allocations: 143.2 kB / 0.4912 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.1254, allocations: 1.027 MB / 0.4922 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.1258, allocations: 242.8 kB / 0.4924 GB, free: 9.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.126, allocations: 56.8 kB / 0.4925 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1261, allocations: 107.6 kB / 0.4926 GB, free: 9.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1263, allocations: 123.5 kB / 0.4927 GB, free: 9.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.1263, allocations: 16 kB / 0.4927 GB, free: 9.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.1268, allocations: 239.8 kB / 0.493 GB, free: 9.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.1269, allocations: 55.7 kB / 0.493 GB, free: 8.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.127, allocations: 111.5 kB / 0.4931 GB, free: 8.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006176/0.1276, allocations: 426.5 kB / 0.4935 GB, free: 8.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1276, allocations: 0 / 0.4935 GB, free: 8.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1276, allocations: 8 kB / 0.4935 GB, free: 8.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1276, allocations: 0 / 0.4935 GB, free: 8.449 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003738/0.1314, allocations: 0.934 MB / 0.4945 GB, free: 7.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1314, allocations: 12.03 kB / 0.4945 GB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.1315, allocations: 50.73 kB / 0.4945 GB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.1315, allocations: 28.8 kB / 0.4945 GB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1319, allocations: 198.8 kB / 0.4947 GB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1319, allocations: 16.7 kB / 0.4947 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.1319, allocations: 24.36 kB / 0.4948 GB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.1324, allocations: 311.6 kB / 0.4951 GB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1325, allocations: 3.938 kB / 0.4951 GB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1325, allocations: 11.94 kB / 0.4951 GB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1325, allocations: 4 kB / 0.4951 GB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.1329, allocations: 260.2 kB / 0.4953 GB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1346, allocations: 0.9313 MB / 0.4962 GB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.1352, allocations: 282.5 kB / 0.4965 GB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.1355, allocations: 140.8 kB / 0.4966 GB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.1355, allocations: 11.97 kB / 0.4967 GB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1355, allocations: 34.56 kB / 0.4967 GB, free: 5.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.1355, allocations: 0 / 0.4967 GB, free: 5.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.00399/0.1395, allocations: 0.9938 MB / 0.4977 GB, free: 4.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.1396, allocations: 110.8 kB / 0.4978 GB, free: 3.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1399, allocations: 214.6 kB / 0.498 GB, free: 3.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.1399, allocations: 33.7 kB / 0.498 GB, free: 3.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.14, allocations: 136.8 kB / 0.4981 GB, free: 3.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.1401, allocations: 99.2 kB / 0.4982 GB, free: 3.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1402, allocations: 65.69 kB / 0.4983 GB, free: 3.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1404, allocations: 334.8 kB / 0.4986 GB, free: 3.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.1407, allocations: 172.3 kB / 0.4988 GB, free: 2.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.141, allocations: 210.5 kB / 0.499 GB, free: 2.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.1416, allocations: 386.8 kB / 0.4993 GB, free: 2.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1416, allocations: 0 / 0.4993 GB, free: 2.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002173/0.1438, allocations: 0.7437 MB / 0.5001 GB, free: 1.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1438, allocations: 4 kB / 0.5001 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1438, allocations: 0 / 0.5001 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.146, allocations: 420.3 kB / 0.5005 GB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.1463, allocations: 59.95 kB / 0.5005 GB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/0.1512, allocations: 2.634 MB / 0.5031 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.1515, allocations: 35.78 kB / 0.5031 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.1515, allocations: 15.98 kB / 0.5032 GB, free: 14.23 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.1517, allocations: 141.8 kB / 0.5033 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.1518, allocations: 19.86 kB / 0.5033 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.1541, allocations: 0.6873 MB / 0.504 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1541, allocations: 7.938 kB / 0.504 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.1541, allocations: 0 / 0.504 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1541, allocations: 7.922 kB / 0.504 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.1546, allocations: 360.3 kB / 0.5043 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1546, allocations: 0 / 0.5043 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1548, allocations: 47.91 kB / 0.5044 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.1568, allocations: 416.4 kB / 0.5048 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1568, allocations: 4 kB / 0.5048 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004487/0.1613, allocations: 2.592 MB / 0.5073 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1613, allocations: 4.312 kB / 0.5073 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.1634, allocations: 0.7379 MB / 0.508 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1635, allocations: 27.78 kB / 0.5081 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.1635, allocations: 7.984 kB / 0.5081 GB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.1638, allocations: 23.92 kB / 0.5081 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.1639, allocations: 23.97 kB / 0.5081 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.1639, allocations: 19.98 kB / 0.5081 GB, free: 8.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.1641, allocations: 154.8 kB / 0.5083 GB, free: 8.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1641, allocations: 0 / 0.5083 GB, free: 8.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004639/0.1645, allocations: 103.9 kB / 0.5084 GB, free: 8.664 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/0.167, allocations: 1.291 MB / 0.5096 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.1686, allocations: 0.5843 MB / 0.5102 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1686, allocations: 0 / 0.5102 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.1697, allocations: 394.3 kB / 0.5106 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.17, allocations: 23.98 kB / 0.5106 GB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.1773, allocations: 3.501 MB / 0.514 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.1779, allocations: 0.7447 MB / 0.5148 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.178, allocations: 37.91 kB / 0.5148 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1782, allocations: 71.41 kB / 0.5149 GB, free: 1.867 MB / 382.1 MB Notification: Performance of SimCode: time 2.925e-06/0.1782, allocations: 0 / 0.5149 GB, free: 1.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2382/0.4164, allocations: 9.926 MB / 0.5246 GB, free: 30.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.17, allocations: 7.375 kB / 0.5246 GB, free: 30.24 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad_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_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.00656803900347] Failed to read output from testmodel.py, exit status != 0: 13.291647689002275 13.31573643 13.184113436 Calling exit ...