Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.00128/0.00128, allocations: 111.7 kB / 19.74 MB, free: 2.164 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.001726/0.001726, allocations: 218.2 kB / 23.05 MB, free: 5.004 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.03659/0.03659, allocations: 6.132 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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 43.92 kB / 444.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1192, allocations: 55.02 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.004277/0.1235, allocations: 1.801 MB / 0.4896 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.1268, allocations: 1.61 MB / 0.4911 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.1269, allocations: 8 kB / 0.4912 GB, free: 10.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.1274, allocations: 139.2 kB / 0.4913 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.1279, allocations: 139.1 kB / 0.4914 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1298, allocations: 0.6521 MB / 0.4921 GB, free: 9.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.1304, allocations: 298.6 kB / 0.4923 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.1306, allocations: 82.2 kB / 0.4924 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.1308, allocations: 123.5 kB / 0.4925 GB, free: 9.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.1311, allocations: 147.4 kB / 0.4927 GB, free: 9.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.1312, allocations: 28 kB / 0.4927 GB, free: 9.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005291/0.1317, allocations: 191.7 kB / 0.4929 GB, free: 9.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.1318, allocations: 59.81 kB / 0.4929 GB, free: 9.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.132, allocations: 143.3 kB / 0.4931 GB, free: 8.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008543/0.1328, allocations: 430.5 kB / 0.4935 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1328, allocations: 0 / 0.4935 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1328, allocations: 0 / 0.4935 GB, free: 8.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1329, allocations: 0 / 0.4935 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.005714/0.1386, allocations: 0.899 MB / 0.4944 GB, free: 7.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1386, allocations: 8.031 kB / 0.4944 GB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.1387, allocations: 62.66 kB / 0.4944 GB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1389, allocations: 32.75 kB / 0.4945 GB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.1394, allocations: 210.7 kB / 0.4947 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.1394, allocations: 24.81 kB / 0.4947 GB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/0.1395, allocations: 24.38 kB / 0.4947 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.1405, allocations: 343.8 kB / 0.495 GB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1405, allocations: 3.938 kB / 0.495 GB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.1406, allocations: 16 kB / 0.4951 GB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1406, allocations: 4 kB / 0.4951 GB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1416, allocations: 353.5 kB / 0.4954 GB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.1448, allocations: 0.9853 MB / 0.4964 GB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.1458, allocations: 378.4 kB / 0.4967 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.1464, allocations: 204.8 kB / 0.4969 GB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.883e-05/0.1465, allocations: 8 kB / 0.4969 GB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.1465, allocations: 51.03 kB / 0.497 GB, free: 4.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.906e-06/0.1465, allocations: 0 / 0.497 GB, free: 4.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.004316/0.1508, allocations: 0.8371 MB / 0.4978 GB, free: 3.902 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.1509, allocations: 55.41 kB / 0.4978 GB, free: 3.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.1513, allocations: 234.9 kB / 0.4981 GB, free: 3.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.1514, allocations: 33.7 kB / 0.4981 GB, free: 3.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1515, allocations: 144.8 kB / 0.4982 GB, free: 3.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.1517, allocations: 122.9 kB / 0.4984 GB, free: 3.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.152, allocations: 94.09 kB / 0.4984 GB, free: 3.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.1522, allocations: 334.8 kB / 0.4988 GB, free: 2.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/0.1528, allocations: 240.8 kB / 0.499 GB, free: 2.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/0.1535, allocations: 247.8 kB / 0.4992 GB, free: 2.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.1549, allocations: 0.5132 MB / 0.4997 GB, free: 1.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1549, allocations: 0 / 0.4997 GB, free: 1.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002586/0.1575, allocations: 0.7288 MB / 0.5004 GB, free: 1.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.1575, allocations: 7.984 kB / 0.5005 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1575, allocations: 0 / 0.5005 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.1586, allocations: 154.5 kB / 0.5006 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.1593, allocations: 79.89 kB / 0.5007 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006085/0.1654, allocations: 4.312 MB / 0.5049 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.1658, allocations: 43.69 kB / 0.5049 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.1659, allocations: 12 kB / 0.5049 GB, free: 12.16 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.1661, allocations: 145.8 kB / 0.5051 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/0.1662, allocations: 23.86 kB / 0.5051 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.1675, allocations: 0.5963 MB / 0.5057 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1675, allocations: 4 kB / 0.5057 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1675, allocations: 4 kB / 0.5057 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1675, allocations: 0 / 0.5057 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.168, allocations: 440.1 kB / 0.5061 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.168, allocations: 4 kB / 0.5061 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.1683, allocations: 51.91 kB / 0.5062 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006093/0.1689, allocations: 154.5 kB / 0.5063 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.1689, allocations: 4 kB / 0.5063 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004236/0.1731, allocations: 4.299 MB / 0.5105 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1731, allocations: 160 / 0.5105 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.1743, allocations: 0.6352 MB / 0.5111 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.1744, allocations: 27.78 kB / 0.5112 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.1744, allocations: 11.95 kB / 0.5112 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.1747, allocations: 12 kB / 0.5112 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.1747, allocations: 23.95 kB / 0.5112 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.1747, allocations: 15.98 kB / 0.5112 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.1749, allocations: 164.1 kB / 0.5114 GB, free: 5.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1749, allocations: 3.938 kB / 0.5114 GB, free: 5.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.1754, allocations: 123.9 kB / 0.5115 GB, free: 4.992 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001626/0.1771, allocations: 1.195 MB / 0.5127 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.1788, allocations: 0.8542 MB / 0.5135 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1788, allocations: 0 / 0.5135 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.1799, allocations: 0.5741 MB / 0.5141 GB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1802, allocations: 16.67 kB / 0.5141 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2079/0.388, allocations: 3.593 MB / 0.5176 GB, free: 29.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3883, allocations: 0.7579 MB / 0.5183 GB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000168/0.3885, allocations: 34.83 kB / 0.5184 GB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.3886, allocations: 81.16 kB / 0.5184 GB, free: 28.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3886, allocations: 0 / 0.5184 GB, free: 28.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/0.4331, allocations: 7.796 MB / 0.5261 GB, free: 27.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.15, allocations: 13.27 kB / 0.5261 GB, free: 27.71 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource_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_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.950775355006044] Failed to read output from testmodel.py, exit status != 0: 12.263984719000291 12.279126107 12.143334717 Calling exit ...