Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.001417/0.001417, allocations: 109.9 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.001459/0.001459, allocations: 220.5 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.03898/0.03898, allocations: 6.138 MB / 319.4 MB, free: 12.98 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.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 47.92 kB / 444.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 55.02 MB / 499.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.007235/0.1105, allocations: 5.743 MB / 0.4934 GB, free: 8.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.115, allocations: 2.38 MB / 0.4958 GB, free: 6.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.1155, allocations: 20 kB / 0.4958 GB, free: 6.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.1163, allocations: 313.8 kB / 0.4961 GB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.1177, allocations: 0.5861 MB / 0.4967 GB, free: 5.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.1207, allocations: 1.455 MB / 0.4981 GB, free: 3.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.1225, allocations: 1.268 MB / 0.4993 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.123, allocations: 281.6 kB / 0.4996 GB, free: 2.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006824/0.1237, allocations: 0.5409 MB / 0.5001 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009009/0.1246, allocations: 0.6809 MB / 0.5008 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.1248, allocations: 111.9 kB / 0.5009 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.1255, allocations: 343.8 kB / 0.5012 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.1257, allocations: 263 kB / 0.5015 GB, free: 272 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005856/0.1263, allocations: 0.6063 MB / 0.5021 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.1279, allocations: 1.405 MB / 0.5034 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1279, allocations: 4 kB / 0.5034 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1279, allocations: 3.938 kB / 0.5034 GB, free: 14.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.128, allocations: 0 / 0.5034 GB, free: 14.24 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.01308/0.141, allocations: 3.105 MB / 0.5065 GB, free: 11.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1411, allocations: 11.97 kB / 0.5065 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/0.1413, allocations: 139.2 kB / 0.5066 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.1416, allocations: 136.1 kB / 0.5067 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.1427, allocations: 0.6156 MB / 0.5073 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/0.1428, allocations: 70.38 kB / 0.5074 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.1429, allocations: 96.38 kB / 0.5075 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.1452, allocations: 1.365 MB / 0.5088 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1453, allocations: 0 / 0.5088 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.1454, allocations: 36 kB / 0.5089 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1454, allocations: 20 kB / 0.5089 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.1475, allocations: 1.335 MB / 0.5102 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007228/0.1547, allocations: 4.309 MB / 0.5144 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.1574, allocations: 1.675 MB / 0.516 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.1587, allocations: 0.8404 MB / 0.5169 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.1588, allocations: 37.2 kB / 0.5169 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/0.1589, allocations: 60.09 kB / 0.5169 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=147): time 4.018e-06/0.1589, allocations: 4 kB / 0.517 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=147): time 0.2369/0.3958, allocations: 6.92 MB / 0.5237 GB, free: 29.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3959, allocations: 118.5 kB / 0.5238 GB, free: 29.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009226/0.3968, allocations: 0.6208 MB / 0.5244 GB, free: 29.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002261/0.3971, allocations: 67.33 kB / 0.5245 GB, free: 28.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.3972, allocations: 335.3 kB / 0.5248 GB, free: 28.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.3976, allocations: 0.5067 MB / 0.5253 GB, free: 28.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/0.3981, allocations: 280.1 kB / 0.5256 GB, free: 28.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.3981, allocations: 345.5 kB / 0.5259 GB, free: 28.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.3994, allocations: 0.8675 MB / 0.5268 GB, free: 28.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.4008, allocations: 0.9924 MB / 0.5277 GB, free: 27.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.4035, allocations: 1.966 MB / 0.5296 GB, free: 26.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4035, allocations: 4.031 kB / 0.5296 GB, free: 26.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01031/0.4138, allocations: 3.753 MB / 0.5333 GB, free: 25.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.4138, allocations: 5.156 kB / 0.5333 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4138, allocations: 1.062 kB / 0.5333 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/0.4251, allocations: 3.556 MB / 0.5368 GB, free: 24.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009643/0.4261, allocations: 220.8 kB / 0.537 GB, free: 24.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.4459, allocations: 11.33 MB / 0.5481 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.447, allocations: 149.6 kB / 0.5482 GB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.4471, allocations: 48.8 kB / 0.5483 GB, free: 16.89 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 (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004178/0.4475, allocations: 269.6 kB / 0.5485 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.4477, allocations: 111.3 kB / 0.5486 GB, free: 16.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008976/0.4567, allocations: 3.719 MB / 0.5522 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.4567, allocations: 16 kB / 0.5523 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4567, allocations: 2.25 kB / 0.5523 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.4567, allocations: 7.969 kB / 0.5523 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.4669, allocations: 5.224 MB / 0.5574 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.4669, allocations: 0 / 0.5574 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.4675, allocations: 179.8 kB / 0.5575 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009343/0.4769, allocations: 2.728 MB / 0.5602 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002956/0.4772, allocations: 35.98 kB / 0.5602 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/0.4993, allocations: 11.16 MB / 0.5711 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.4993, allocations: 6.5 kB / 0.5711 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.5099, allocations: 3.591 MB / 0.5747 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.5102, allocations: 130.8 kB / 0.5748 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/0.5105, allocations: 32.86 kB / 0.5748 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.5116, allocations: 89.91 kB / 0.5749 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005097/0.5121, allocations: 134.4 kB / 0.575 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.5122, allocations: 48 kB / 0.5751 GB, free: 5.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000704/0.5129, allocations: 427 kB / 0.5755 GB, free: 4.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5129, allocations: 0 / 0.5755 GB, free: 4.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001639/0.5146, allocations: 0.5348 MB / 0.576 GB, free: 4.352 MB / 398.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 (106): * Single equations (assignments): 105 * 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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0108/0.5254, allocations: 4.21 MB / 0.5801 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008114/0.5335, allocations: 3.021 MB / 0.5831 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.5335, allocations: 4.656 kB / 0.5831 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006364/0.5399, allocations: 2.002 MB / 0.585 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5411, allocations: 141.2 kB / 0.5852 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03177/0.5729, allocations: 14.01 MB / 0.5988 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008712/0.5738, allocations: 1.077 MB / 0.5999 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006081/0.5744, allocations: 143.5 kB / 0.6 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000581/0.5749, allocations: 403.3 kB / 0.6004 GB, free: 11.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.713e-06/0.5749, allocations: 4 kB / 0.6004 GB, free: 11.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09862/0.6736, allocations: 47.53 MB / 0.6468 GB, free: 11.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.79, allocations: 17.38 kB / 0.6468 GB, free: 11.85 MB / 478.1 MB " [Timeout remaining time 644] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork_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_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.64547539499472] Failed to read output from testmodel.py, exit status != 0: 15.932862834000844 15.954356914 15.822644292 Calling exit ...