Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.0007557/0.0007557, allocations: 76.52 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0008034/0.0008034, allocations: 173.9 kB / 23.25 MB, free: 1.316 MB / 18.57 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 0.8983/0.8983, allocations: 177.1 MB / 203.6 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.02272/0.02272, allocations: 4.473 MB / 264.5 MB, free: 8.77 MB / 250.7 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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.171e-05, allocations: 6.219 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002527/0.002558, allocations: 1.187 MB / 390.8 MB, free: 6.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.00454, allocations: 1.259 MB / 392 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.00462, allocations: 0 / 392 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.004951, allocations: 79.52 kB / 392.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.005183, allocations: 55.61 kB / 392.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.005927, allocations: 314.3 kB / 392.5 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.00611, allocations: 131.3 kB / 392.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.006283, allocations: 45.97 kB / 392.7 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.006384, allocations: 75.81 kB / 392.7 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.006556, allocations: 55.88 kB / 392.8 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.006584, allocations: 8 kB / 392.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.006803, allocations: 111.8 kB / 392.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.006836, allocations: 27.91 kB / 392.9 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.006887, allocations: 35.92 kB / 393 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.007244, allocations: 239.2 kB / 393.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.007249, allocations: 0 / 393.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.007251, allocations: 0 / 393.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.007257, allocations: 0 / 393.2 MB, free: 3.785 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009274/0.008184, allocations: 405.5 kB / 393.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.008232, allocations: 8.031 kB / 393.6 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.008287, allocations: 50.73 kB / 393.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.008329, allocations: 8.891 kB / 393.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.008503, allocations: 129.6 kB / 393.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.008521, allocations: 12.38 kB / 393.8 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.008541, allocations: 12.38 kB / 393.8 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.008804, allocations: 181.6 kB / 394 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.008814, allocations: 4.125 kB / 394 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.008832, allocations: 12.31 kB / 394 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.008839, allocations: 8.125 kB / 394 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.009002, allocations: 103.9 kB / 394.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.009713, allocations: 439.4 kB / 394.5 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.01, allocations: 94.62 kB / 394.6 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.01005, allocations: 32.94 kB / 394.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/0.01015, allocations: 8 kB / 394.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.01018, allocations: 34.55 kB / 394.7 MB, free: 2.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.01018, allocations: 0 / 394.7 MB, free: 2.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005193/0.0107, allocations: 150.4 kB / 394.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.01073, allocations: 55.41 kB / 394.9 MB, free: 1.902 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01087, allocations: 129.8 kB / 395 MB, free: 1.766 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.01089, allocations: 33.7 kB / 395.1 MB, free: 1.727 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.01096, allocations: 123.8 kB / 395.2 MB, free: 1.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.01098, allocations: 19.86 kB / 395.2 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.01104, allocations: 29.7 kB / 395.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01114, allocations: 318.8 kB / 395.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.01119, allocations: 32 kB / 395.6 MB, free: 1.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.01124, allocations: 31.98 kB / 395.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.925e-05/0.01133, allocations: 64.78 kB / 395.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01134, allocations: 0 / 395.7 MB, free: 1.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002425/0.01158, allocations: 138.6 kB / 395.8 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.0116, allocations: 8 kB / 395.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.0116, allocations: 96 / 395.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.01181, allocations: 32.77 kB / 395.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.01187, allocations: 12 kB / 395.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.0133, allocations: 1.322 MB / 397.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.01336, allocations: 3.984 kB / 397.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.01337, allocations: 8 kB / 397.2 MB, free: 15.45 MB / 330.7 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 (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.986e-05/0.01346, allocations: 122 kB / 397.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.01349, allocations: 11.94 kB / 397.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.0137, allocations: 126.8 kB / 397.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.0137, allocations: 3.938 kB / 397.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.01371, allocations: 3.984 kB / 397.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01371, allocations: 0 / 397.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01388, allocations: 180.6 kB / 397.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01389, allocations: 3.984 kB / 397.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.01392, allocations: 8 kB / 397.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.01402, allocations: 40.83 kB / 397.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.01403, allocations: 0 / 397.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007208/0.01475, allocations: 1.291 MB / 399 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01475, allocations: 3.938 kB / 399 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.01495, allocations: 208.7 kB / 399.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.01497, allocations: 12.11 kB / 399.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.01499, allocations: 7.938 kB / 399.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.01508, allocations: 7.984 kB / 399.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.01511, allocations: 7.984 kB / 399.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01512, allocations: 0 / 399.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.01522, allocations: 111.3 kB / 399.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01522, allocations: 0 / 399.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003468/0.01556, allocations: 39.89 kB / 399.4 MB, free: 13.08 MB / 330.7 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 (6): * Single equations (assignments): 5 * 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): 1 system {(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.0005962/0.01616, allocations: 0.7406 MB / 400.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.01649, allocations: 190.5 kB / 400.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01649, allocations: 0 / 400.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.01659, allocations: 142.7 kB / 400.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.0169, allocations: 12 kB / 400.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.01835, allocations: 1.605 MB / 402.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.639e-05/0.01842, allocations: 97.16 kB / 402.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.01847, allocations: 12.72 kB / 402.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.01854, allocations: 36.48 kB / 402.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of SimCode: time 2.374e-06/0.01854, allocations: 0 / 402.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.03916, allocations: 3.642 MB / 405.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.306, allocations: 11.86 kB / 405.8 MB, free: 6.57 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses_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_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.267959820106626] Failed to read output from testmodel.py, exit status != 0: 7.391625001095235 7.549802847 7.540571993 Calling exit ...