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.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.001336/0.001336, allocations: 108 kB / 17.17 MB, free: 5.867 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.001385/0.001385, allocations: 196.6 kB / 20.12 MB, free: 2.93 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.401/1.401, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.05134/0.05134, allocations: 8.228 MB / 311.6 MB, free: 2.062 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.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 0.002093/0.002093, allocations: 63.91 kB / 434 MB, free: 11.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2601, allocations: 54.35 MB / 488.3 MB, free: 27.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.00231/0.2624, allocations: 1.457 MB / 489.8 MB, free: 26.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2639, allocations: 1.453 MB / 491.2 MB, free: 25.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.264, allocations: 2.156 kB / 491.2 MB, free: 25.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.2643, allocations: 114.4 kB / 491.3 MB, free: 25.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.2646, allocations: 161.9 kB / 491.5 MB, free: 25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2659, allocations: 0.9051 MB / 492.4 MB, free: 24.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.2661, allocations: 201.2 kB / 492.6 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2662, allocations: 40.47 kB / 492.6 MB, free: 24.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.2663, allocations: 79.36 kB / 492.7 MB, free: 24.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.2664, allocations: 107 kB / 492.8 MB, free: 24.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.2665, allocations: 14.75 kB / 492.8 MB, free: 24.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.2668, allocations: 223.5 kB / 493.1 MB, free: 23.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.2668, allocations: 42.62 kB / 493.1 MB, free: 23.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.2669, allocations: 89.61 kB / 493.2 MB, free: 23.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.2673, allocations: 371.4 kB / 493.5 MB, free: 23.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2673, allocations: 0 / 493.5 MB, free: 23.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2673, allocations: 0 / 493.5 MB, free: 23.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2673, allocations: 4 kB / 493.5 MB, free: 23.63 MB / 366.1 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.001767/0.2691, allocations: 0.708 MB / 494.3 MB, free: 23.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2691, allocations: 13.48 kB / 494.3 MB, free: 23.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.206e-05/0.2691, allocations: 48.23 kB / 494.3 MB, free: 23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.2692, allocations: 23.8 kB / 494.3 MB, free: 22.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2694, allocations: 234.7 kB / 494.6 MB, free: 22.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.2695, allocations: 71.95 kB / 494.6 MB, free: 22.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2695, allocations: 23.38 kB / 494.7 MB, free: 22.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.2699, allocations: 220 kB / 494.9 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2699, allocations: 1.438 kB / 494.9 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.2699, allocations: 9.312 kB / 494.9 MB, free: 22.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2699, allocations: 7.938 kB / 494.9 MB, free: 22.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.2703, allocations: 200.7 kB / 495.1 MB, free: 22.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2715, allocations: 0.9093 MB / 496 MB, free: 21.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.272, allocations: 216.6 kB / 496.2 MB, free: 21.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2722, allocations: 99.16 kB / 496.3 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.2723, allocations: 87.25 kB / 496.4 MB, free: 21.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.2727, allocations: 172.6 kB / 496.6 MB, free: 21.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.674e-06/0.2727, allocations: 0 / 496.6 MB, free: 21.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001587/0.2742, allocations: 0.5995 MB / 497.2 MB, free: 20.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.2743, allocations: 58.27 kB / 497.2 MB, free: 20.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2744, allocations: 181.2 kB / 497.4 MB, free: 20.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2744, allocations: 31.89 kB / 497.4 MB, free: 20.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.2745, allocations: 135.2 kB / 497.6 MB, free: 20.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.2745, allocations: 80.25 kB / 497.6 MB, free: 20.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.383e-05/0.2746, allocations: 55.62 kB / 497.7 MB, free: 20.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.2747, allocations: 329.5 kB / 498 MB, free: 19.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.2748, allocations: 118.7 kB / 498.1 MB, free: 19.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.275, allocations: 161 kB / 498.3 MB, free: 19.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.2754, allocations: 273.2 kB / 498.6 MB, free: 19.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2754, allocations: 3.938 kB / 498.6 MB, free: 19.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009378/0.2763, allocations: 470.7 kB / 499 MB, free: 19.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2763, allocations: 11.84 kB / 499 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2764, allocations: 1.25 kB / 499 MB, free: 19.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008458/0.2772, allocations: 196.8 kB / 499.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.2774, allocations: 44.08 kB / 499.3 MB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005403/0.2779, allocations: 0.7242 MB / 500 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.2781, allocations: 27.12 kB / 0.4883 GB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2781, allocations: 11.41 kB / 0.4883 GB, free: 18.58 MB / 366.1 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.0001046/0.2782, allocations: 140.6 kB / 0.4884 GB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.2783, allocations: 19.28 kB / 0.4885 GB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/0.2789, allocations: 378.6 kB / 0.4888 GB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2789, allocations: 6.047 kB / 0.4888 GB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2789, allocations: 1.062 kB / 0.4888 GB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2789, allocations: 0 / 0.4888 GB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.2792, allocations: 350.2 kB / 0.4892 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2792, allocations: 0 / 0.4892 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2793, allocations: 26.83 kB / 0.4892 GB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007196/0.28, allocations: 193.7 kB / 0.4894 GB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.28, allocations: 2.375 kB / 0.4894 GB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005893/0.2806, allocations: 0.7385 MB / 0.4901 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2806, allocations: 1 kB / 0.4901 GB, free: 17.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.2812, allocations: 369 kB / 0.4904 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.2813, allocations: 99.16 kB / 0.4905 GB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.2813, allocations: 13.09 kB / 0.4906 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.2815, allocations: 14.73 kB / 0.4906 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.2815, allocations: 14.88 kB / 0.4906 GB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.2815, allocations: 9.531 kB / 0.4906 GB, free: 16.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.2816, allocations: 134.6 kB / 0.4907 GB, free: 16.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2816, allocations: 0 / 0.4907 GB, free: 16.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.2819, allocations: 64.17 kB / 0.4908 GB, free: 16.6 MB / 366.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: 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.0008314/0.2828, allocations: 0.9345 MB / 0.4917 GB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.2834, allocations: 286.1 kB / 0.492 GB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2834, allocations: 0 / 0.492 GB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.2839, allocations: 159.6 kB / 0.4921 GB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2842, allocations: 27.39 kB / 0.4921 GB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.2876, allocations: 2.629 MB / 0.4947 GB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.2877, allocations: 0.7235 MB / 0.4954 GB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.698e-05/0.2878, allocations: 20.5 kB / 0.4954 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.2879, allocations: 56.72 kB / 0.4955 GB, free: 12.8 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2879, allocations: 1.344 kB / 0.4955 GB, free: 12.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.315, allocations: 5.833 MB / 0.5012 GB, free: 9.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.72, allocations: 6.406 kB / 0.5012 GB, free: 9.828 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.089794698171318] Failed to read output from testmodel.py, exit status != 0: 11.803635147865862 11.813666044 11.54358415 Calling exit ...