Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.001164/0.001164, allocations: 80.44 kB / 19.96 MB, free: 4.594 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.0008244/0.0008244, allocations: 173.2 kB / 23.25 MB, free: 1.305 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.8739/0.8739, allocations: 177.1 MB / 203.6 MB, free: 5.719 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.02196/0.02196, allocations: 4.469 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.DegradedModeForLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.DegradedModeForLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.242e-05, allocations: 3.125 kB / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002494/0.002517, allocations: 1.35 MB / 391 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.004402, allocations: 1.427 MB / 392.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.004485, allocations: 4 kB / 392.4 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.004832, allocations: 111.3 kB / 392.5 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.005262, allocations: 155 kB / 392.7 MB, free: 4.359 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.006657, allocations: 0.8361 MB / 393.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.006945, allocations: 191.1 kB / 393.7 MB, free: 3.332 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.007081, allocations: 33.78 kB / 393.7 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.007223, allocations: 119.7 kB / 393.8 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.007383, allocations: 71.78 kB / 393.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.007415, allocations: 16 kB / 393.9 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.007792, allocations: 227.5 kB / 394.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.007837, allocations: 43.83 kB / 394.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.007922, allocations: 59.83 kB / 394.2 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.008265, allocations: 394.8 kB / 394.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.008267, allocations: 4 kB / 394.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008268, allocations: 0 / 394.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.008272, allocations: 0 / 394.6 MB, free: 2.379 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001193/0.009465, allocations: 0.6335 MB / 395.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.009498, allocations: 8.031 kB / 395.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.009539, allocations: 54.73 kB / 395.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.009584, allocations: 20.8 kB / 395.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.009772, allocations: 177.5 kB / 395.5 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.009845, allocations: 93.67 kB / 395.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.009866, allocations: 20.38 kB / 395.6 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.01013, allocations: 281.6 kB / 395.9 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.01014, allocations: 192 / 395.9 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.01016, allocations: 4.375 kB / 395.9 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.01016, allocations: 7.938 kB / 395.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.01037, allocations: 207.8 kB / 396.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.01121, allocations: 0.7253 MB / 396.8 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.01154, allocations: 214.6 kB / 397 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.01164, allocations: 96.83 kB / 397.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-05/0.01171, allocations: 12.38 kB / 397.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.01195, allocations: 230.6 kB / 397.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.01195, allocations: 3.938 kB / 397.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.00102/0.01297, allocations: 0.5361 MB / 397.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.013, allocations: 51.41 kB / 398 MB, free: 14.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.01311, allocations: 178.9 kB / 398.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.01313, allocations: 29.7 kB / 398.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.01318, allocations: 136.4 kB / 398.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.01322, allocations: 71.3 kB / 398.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.01328, allocations: 57.97 kB / 398.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.01335, allocations: 326.8 kB / 398.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.01347, allocations: 116.5 kB / 398.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.01361, allocations: 170.2 kB / 399 MB, free: 13.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.01389, allocations: 284.1 kB / 399.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01389, allocations: 0 / 399.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005934/0.01448, allocations: 478 kB / 399.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.0145, allocations: 4 kB / 399.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.0145, allocations: 4 kB / 399.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.015, allocations: 184.7 kB / 400 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.0151, allocations: 47.91 kB / 400 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004537/0.01555, allocations: 0.7281 MB / 400.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.743e-05/0.01565, allocations: 31.75 kB / 400.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.01566, allocations: 8 kB / 400.8 MB, free: 11.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (load.degradedMode,$PRE.load.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 9.935e-05/0.01576, allocations: 137.8 kB / 400.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.01579, allocations: 15.91 kB / 400.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.01626, allocations: 382.3 kB / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01626, allocations: 0 / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01626, allocations: 4 kB / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01627, allocations: 7.938 kB / 401.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.01645, allocations: 268.5 kB / 401.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01645, allocations: 0 / 401.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.0165, allocations: 27.92 kB / 401.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/0.01695, allocations: 192.6 kB / 401.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.01697, allocations: 7.938 kB / 401.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004565/0.01743, allocations: 0.7384 MB / 402.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01743, allocations: 4 kB / 402.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.0179, allocations: 369.6 kB / 402.9 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.01792, allocations: 23.83 kB / 402.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.01794, allocations: 3.953 kB / 402.9 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.01801, allocations: 19.98 kB / 402.9 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.01806, allocations: 23.91 kB / 403 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.01807, allocations: 8 kB / 403 MB, free: 9.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.437e-05/0.01815, allocations: 131.9 kB / 403.1 MB, free: 9.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01815, allocations: 3.938 kB / 403.1 MB, free: 9.477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.01834, allocations: 63.98 kB / 403.2 MB, free: 9.414 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: 2 ($whenCondition1,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006405/0.01898, allocations: 0.9201 MB / 404.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004452/0.01942, allocations: 292 kB / 404.4 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01943, allocations: 0 / 404.4 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/0.01983, allocations: 164.1 kB / 404.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.02, allocations: 20 kB / 404.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.02257, allocations: 2.619 MB / 407.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.626e-05/0.02264, allocations: 113 kB / 407.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.0227, allocations: 25.62 kB / 407.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.02277, allocations: 56.58 kB / 407.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02277, allocations: 3.938 kB / 407.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/0.1588, allocations: 6.099 MB / 413.5 MB, free: 33.72 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.444, allocations: 5.5 kB / 413.5 MB, free: 33.72 MB / 330.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.16 PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads.fmu > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.189111379906535] Failed to read output from testmodel.py, exit status != 0: 8.538896213285625 8.55193155 8.541501772 Calling exit ...