Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 106.3 kB / 17.11 MB, free: 5.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 196.6 kB / 20.07 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 245.8 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1866/0.1866, allocations: 8.074 MB / 306 MB, free: 2.703 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.89 kB / 422.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2908, allocations: 51.53 MB / 474.2 MB, free: 21.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.003624/0.2945, allocations: 3.861 MB / 478.1 MB, free: 18.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.2972, allocations: 1.948 MB / 480 MB, free: 17.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.2974, allocations: 10.47 kB / 480 MB, free: 17.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.298, allocations: 240.5 kB / 480.3 MB, free: 17.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000713/0.2987, allocations: 380.1 kB / 480.7 MB, free: 16.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.3007, allocations: 1.317 MB / 482 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000868/0.3015, allocations: 0.7921 MB / 482.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.3019, allocations: 262.5 kB / 483 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.3022, allocations: 330.8 kB / 483.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/0.3026, allocations: 426.2 kB / 483.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3028, allocations: 62.56 kB / 483.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.3034, allocations: 304.3 kB / 484.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.3035, allocations: 154.6 kB / 484.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.3038, allocations: 376.1 kB / 484.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.3048, allocations: 0.9473 MB / 485.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3048, allocations: 0 / 485.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3048, allocations: 0 / 485.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3049, allocations: 0 / 485.6 MB, free: 13.55 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007672/0.3125, allocations: 2.15 MB / 487.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3126, allocations: 13.48 kB / 487.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.3127, allocations: 92.58 kB / 487.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.3129, allocations: 92.42 kB / 487.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.3135, allocations: 488.2 kB / 488.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.3135, allocations: 46.03 kB / 488.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.776e-05/0.3136, allocations: 59.72 kB / 488.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3148, allocations: 0.8375 MB / 489.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3148, allocations: 3.938 kB / 489.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.3149, allocations: 22.5 kB / 489.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.3149, allocations: 12.25 kB / 489.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.3159, allocations: 0.7876 MB / 490.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.3196, allocations: 3.327 MB / 493.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.3211, allocations: 1.354 MB / 494.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.3218, allocations: 0.5883 MB / 495.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.3219, allocations: 27.48 kB / 495.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.322, allocations: 45.41 kB / 495.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.414e-06/0.322, allocations: 4 kB / 495.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.013/0.335, allocations: 3.967 MB / 499.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3351, allocations: 115.8 kB / 499.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.3355, allocations: 437.8 kB / 0.4883 GB, free: 2.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3356, allocations: 45.7 kB / 0.4883 GB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3357, allocations: 245.7 kB / 0.4886 GB, free: 1.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.3359, allocations: 313.2 kB / 0.4889 GB, free: 1.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.3362, allocations: 178.6 kB / 0.489 GB, free: 1.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.3362, allocations: 370.8 kB / 0.4894 GB, free: 0.9375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.3369, allocations: 0.533 MB / 0.4899 GB, free: 412 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.3376, allocations: 0.6225 MB / 0.4905 GB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.3395, allocations: 1.205 MB / 0.4917 GB, free: 14.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3395, allocations: 7.969 kB / 0.4917 GB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006407/0.3459, allocations: 2.382 MB / 0.494 GB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.346, allocations: 4 kB / 0.494 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.346, allocations: 0 / 0.494 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006801/0.3528, allocations: 1.769 MB / 0.4958 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.3536, allocations: 151.7 kB / 0.4959 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/0.3682, allocations: 7.361 MB / 0.5031 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/0.3692, allocations: 99.28 kB / 0.5032 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.3693, allocations: 35.98 kB / 0.5032 GB, free: 2.617 MB / 366.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 (87): * Single equations (assignments): 86 * 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 {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003792/0.3697, allocations: 201.7 kB / 0.5034 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.3698, allocations: 75.52 kB / 0.5035 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00639/0.3762, allocations: 2.324 MB / 0.5058 GB, free: 0 / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/0.3763, allocations: 11.98 kB / 0.5058 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3763, allocations: 0 / 0.5058 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3763, allocations: 3.938 kB / 0.5058 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007845/0.3842, allocations: 3.323 MB / 0.509 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.3843, allocations: 4 kB / 0.509 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.3847, allocations: 111.8 kB / 0.5091 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006571/0.3913, allocations: 1.492 MB / 0.5106 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.3915, allocations: 27.94 kB / 0.5106 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.4055, allocations: 7.234 MB / 0.5177 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4056, allocations: 0 / 0.5177 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006276/0.4119, allocations: 2.289 MB / 0.5199 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.4122, allocations: 156.4 kB / 0.5201 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.4123, allocations: 16 kB / 0.5201 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.4131, allocations: 55.91 kB / 0.5201 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.4134, allocations: 84.88 kB / 0.5202 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.002e-05/0.4135, allocations: 28 kB / 0.5202 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004574/0.414, allocations: 291.1 kB / 0.5205 GB, free: 0.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.414, allocations: 0 / 0.5205 GB, free: 0.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001161/0.4151, allocations: 339.8 kB / 0.5208 GB, free: 300 kB / 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 (66): * Single equations (assignments): 65 * 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 {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00682/0.422, allocations: 2.879 MB / 0.5237 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005003/0.427, allocations: 1.979 MB / 0.5256 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.4271, allocations: 4 kB / 0.5256 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003626/0.4307, allocations: 1.299 MB / 0.5269 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/0.4316, allocations: 81.95 kB / 0.5269 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.4522, allocations: 9.033 MB / 0.5358 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007365/0.453, allocations: 0.9179 MB / 0.5367 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.4534, allocations: 100.8 kB / 0.5368 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.4538, allocations: 239.3 kB / 0.537 GB, free: 15.58 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4538, allocations: 4 kB / 0.537 GB, free: 15.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06974/0.5236, allocations: 28.54 MB / 0.5649 GB, free: 3.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.59, allocations: 6.5 kB / 0.5649 GB, free: 3.176 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network_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_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.231367700034752] Failed to read output from testmodel.py, exit status != 0: 12.69161704799626 12.717339776 12.408059653 Calling exit ...