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.001183/0.001183, allocations: 76.45 kB / 19.96 MB, free: 4.598 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.0008657/0.0008657, allocations: 173.9 kB / 23.25 MB, free: 1.309 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.8835/0.8835, allocations: 177.1 MB / 203.6 MB, free: 5.746 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.02315/0.02315, allocations: 4.465 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.643e-06/1.643e-06, allocations: 0 / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.968e-05, allocations: 2.281 kB / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001951/0.001971, allocations: 1.353 MB / 391 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.003552, allocations: 1.438 MB / 392.4 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.996e-05/0.003632, allocations: 3.938 kB / 392.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.003962, allocations: 103.4 kB / 392.5 MB, free: 4.508 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.004392, allocations: 151.1 kB / 392.6 MB, free: 4.359 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.005434, allocations: 0.84 MB / 393.5 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.005812, allocations: 191.1 kB / 393.7 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.005979, allocations: 33.8 kB / 393.7 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.006129, allocations: 115.7 kB / 393.8 MB, free: 3.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.006305, allocations: 71.78 kB / 393.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.006337, allocations: 16 kB / 393.9 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.006784, allocations: 231.5 kB / 394.1 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.006824, allocations: 43.83 kB / 394.2 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.006882, allocations: 59.83 kB / 394.2 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.007323, allocations: 394.8 kB / 394.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.007326, allocations: 0 / 394.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.007328, allocations: 0 / 394.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.007333, 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.00136/0.008693, allocations: 0.6335 MB / 395.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.008748, allocations: 19.91 kB / 395.3 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.008805, allocations: 54.73 kB / 395.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.008878, allocations: 24.8 kB / 395.3 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.009127, allocations: 165.5 kB / 395.5 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/0.009221, allocations: 93.67 kB / 395.6 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.009247, allocations: 16.38 kB / 395.6 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.009577, allocations: 281.7 kB / 395.9 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.009587, allocations: 192 / 395.9 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.009609, allocations: 8.375 kB / 395.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.009618, allocations: 7.938 kB / 395.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.009845, allocations: 199.9 kB / 396.1 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.01083, allocations: 0.7214 MB / 396.8 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.01123, allocations: 222.4 kB / 397 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.01135, allocations: 100.8 kB / 397.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.845e-05/0.01144, allocations: 8.375 kB / 397.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.01176, allocations: 230.6 kB / 397.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/0.01176, allocations: 0 / 397.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.001037/0.0128, allocations: 0.5322 MB / 397.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.01283, allocations: 55.41 kB / 398 MB, free: 14.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.01297, allocations: 175.6 kB / 398.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.01299, allocations: 33.7 kB / 398.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.01306, allocations: 128.4 kB / 398.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.01311, allocations: 79.33 kB / 398.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/0.01318, allocations: 57.97 kB / 398.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.0133, allocations: 326.8 kB / 398.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.01343, allocations: 116.5 kB / 398.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.01358, allocations: 166.1 kB / 399 MB, free: 13.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.01389, allocations: 284.1 kB / 399.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01389, allocations: 0 / 399.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00063/0.01452, allocations: 477.9 kB / 399.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01454, allocations: 8 kB / 399.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01455, allocations: 0 / 399.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005684/0.01512, allocations: 204.7 kB / 400 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.01522, allocations: 39.98 kB / 400 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005854/0.01581, allocations: 0.7163 MB / 400.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01592, allocations: 39.75 kB / 400.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.01594, 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 0.0001048/0.01605, allocations: 133.8 kB / 400.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.01607, allocations: 15.91 kB / 400.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.01656, allocations: 385.8 kB / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01656, allocations: 4 kB / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01657, allocations: 0 / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01657, allocations: 3.984 kB / 401.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.01676, allocations: 264.5 kB / 401.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01676, allocations: 0 / 401.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.01682, allocations: 24.09 kB / 401.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.01726, allocations: 204.5 kB / 401.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01728, allocations: 11.94 kB / 401.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005453/0.01782, allocations: 0.7319 MB / 402.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01782, allocations: 80 / 402.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.01824, allocations: 372.7 kB / 402.9 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.01826, allocations: 27.78 kB / 402.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.01829, allocations: 11.89 kB / 402.9 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.853e-05/0.01836, allocations: 19.97 kB / 403 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.01841, allocations: 23.91 kB / 403 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01842, allocations: 4 kB / 403 MB, free: 9.605 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.228e-05/0.01851, allocations: 139.9 kB / 403.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01851, allocations: 0 / 403.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.01871, allocations: 56 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.0006963/0.01941, allocations: 0.9176 MB / 404.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004738/0.01988, allocations: 292.1 kB / 404.4 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01989, allocations: 8.062 kB / 404.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.02015, allocations: 155.8 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.0002044/0.02035, allocations: 27.92 kB / 404.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.02306, allocations: 2.622 MB / 407.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.315e-05/0.02312, allocations: 109 kB / 407.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.02319, allocations: 21.62 kB / 407.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.02326, allocations: 56.47 kB / 407.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02326, allocations: 0 / 407.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/0.1652, allocations: 6.101 MB / 413.5 MB, free: 33.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.067, allocations: 6.062 kB / 413.5 MB, free: 33.71 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads_fmu --startTime=0 --stopTime=400 --stepSize=0.16 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads.fmu > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.835267261601985] Failed to read output from testmodel.py, exit status != 0: 8.16225844528526 8.176216276 8.165868182 Calling exit ...