Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.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.00131/0.00131, allocations: 110.8 kB / 17.84 MB, free: 5.242 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.001332/0.001332, allocations: 187.7 kB / 20.79 MB, free: 2.305 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: 225.6 MB / 249.2 MB, free: 3.633 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.05065/0.05065, allocations: 8.235 MB / 312.3 MB, free: 2.051 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: translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.88 kB / 435.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2243, allocations: 54.36 MB / 489.5 MB, free: 27.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized): time 0.003158/0.2275, allocations: 2.86 MB / 492.4 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.2291, allocations: 1.141 MB / 493.5 MB, free: 24.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2293, allocations: 4.438 kB / 493.5 MB, free: 24.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.2296, allocations: 147.3 kB / 493.7 MB, free: 24.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.2299, allocations: 144.8 kB / 493.8 MB, free: 24.26 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation diesel.rampTime == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.2315, allocations: 1.034 MB / 494.8 MB, free: 23.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.2318, allocations: 334.1 kB / 495.2 MB, free: 23.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.232, allocations: 87.8 kB / 495.2 MB, free: 23.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.2321, allocations: 140.5 kB / 495.4 MB, free: 23.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.2324, allocations: 206.5 kB / 495.6 MB, free: 23.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.2324, allocations: 32.91 kB / 495.6 MB, free: 23.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.2329, allocations: 309.7 kB / 495.9 MB, free: 22.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.233, allocations: 73.91 kB / 496 MB, free: 22.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.2331, allocations: 166.2 kB / 496.2 MB, free: 22.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.2337, allocations: 0.5455 MB / 496.7 MB, free: 22.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2337, allocations: 0 / 496.7 MB, free: 22.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2337, allocations: 0 / 496.7 MB, free: 22.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2337, allocations: 1.094 kB / 496.7 MB, free: 22.35 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002153/0.2359, allocations: 0.8566 MB / 497.6 MB, free: 21.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2359, allocations: 13.34 kB / 497.6 MB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.236, allocations: 37.47 kB / 497.6 MB, free: 21.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.2363, allocations: 274 kB / 497.9 MB, free: 21.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.2363, allocations: 81.33 kB / 498 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.2364, allocations: 36.92 kB / 498 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.237, allocations: 379 kB / 498.4 MB, free: 21.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.237, allocations: 4.969 kB / 498.4 MB, free: 21.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.237, allocations: 15.31 kB / 498.4 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.237, allocations: 6.562 kB / 498.4 MB, free: 21.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.2376, allocations: 366.4 kB / 498.7 MB, free: 20.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.239, allocations: 1.364 MB / 0.4884 GB, free: 19.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.24, allocations: 0.5075 MB / 0.4889 GB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.2403, allocations: 198 kB / 0.4891 GB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.2403, allocations: 18.41 kB / 0.4891 GB, free: 19.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.2408, allocations: 306.7 kB / 0.4894 GB, free: 19.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 3.126e-06/0.2408, allocations: 5.5 kB / 0.4894 GB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.003108/0.244, allocations: 1.149 MB / 0.4905 GB, free: 18.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.244, allocations: 62.72 kB / 0.4906 GB, free: 18.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2442, allocations: 198.6 kB / 0.4908 GB, free: 18.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.2442, allocations: 36.52 kB / 0.4908 GB, free: 18.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.2443, allocations: 152.2 kB / 0.4909 GB, free: 17.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.2444, allocations: 170.1 kB / 0.4911 GB, free: 17.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.2445, allocations: 95.48 kB / 0.4912 GB, free: 17.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.2445, allocations: 342.1 kB / 0.4915 GB, free: 17.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.2448, allocations: 194.3 kB / 0.4917 GB, free: 17.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.2452, allocations: 267.2 kB / 0.492 GB, free: 17.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004364/0.2495, allocations: 1.248 MB / 0.4932 GB, free: 16.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2495, allocations: 0 / 0.4932 GB, free: 16.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001624/0.2512, allocations: 0.7763 MB / 0.4939 GB, free: 16.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2512, allocations: 5.469 kB / 0.4939 GB, free: 16.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2512, allocations: 1.125 kB / 0.4939 GB, free: 16.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.2524, allocations: 306.8 kB / 0.4942 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.2527, allocations: 76.14 kB / 0.4943 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/0.2563, allocations: 2.971 MB / 0.4972 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.2566, allocations: 37.7 kB / 0.4972 GB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.2566, allocations: 21.64 kB / 0.4973 GB, free: 13.41 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: myFailure.seed:DISCRETE(fixed = true protected = true ) type: Integer myFailure.componentIsWorking:DISCRETE(start = true fixed = true ) type: Boolean myFailure.F:VARIABLE(start = 0.0 fixed = true ) \"cumulative distribution function\" type: Real myFailure.r:DISCRETE(fixed = true ) \"random numbers\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.myFailure.seed,myFailure.seed,$whenCondition4,myFailure.i,$PRE.myFailure.componentIsWorking,$PRE.myFailure.r,myFailure.r,myFailure.componentIsWorking,myFailure.y,n.y,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 {(6,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.2568, allocations: 165.8 kB / 0.4974 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.2569, allocations: 33.97 kB / 0.4975 GB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.2586, allocations: 0.7776 MB / 0.4982 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.2586, allocations: 9.938 kB / 0.4982 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.2586, allocations: 0 / 0.4982 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2586, allocations: 7.922 kB / 0.4982 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.2607, allocations: 1.359 MB / 0.4996 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2607, allocations: 4 kB / 0.4996 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.2609, allocations: 58.53 kB / 0.4996 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.2621, allocations: 310.4 kB / 0.4999 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.2621, allocations: 12.12 kB / 0.4999 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.2654, allocations: 2.914 MB / 0.5028 GB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2654, allocations: 1.531 kB / 0.5028 GB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.2674, allocations: 1.1 MB / 0.5038 GB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.2675, allocations: 115.4 kB / 0.504 GB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.2675, allocations: 10.52 kB / 0.504 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.2678, allocations: 28.86 kB / 0.504 GB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2679, allocations: 45.88 kB / 0.504 GB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.2679, allocations: 20.03 kB / 0.5041 GB, free: 8.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.268, allocations: 147.5 kB / 0.5042 GB, free: 8.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.268, allocations: 0 / 0.5042 GB, free: 8.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000627/0.2687, allocations: 164.3 kB / 0.5044 GB, free: 8.246 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (myFailure.F) * Number of discrete variables: 9 (n.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,myFailure.y,myFailure.componentIsWorking,myFailure.r,myFailure.seed) * Number of discrete states: 2 (myFailure.r,myFailure.componentIsWorking) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(6,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004852/0.2692, allocations: 222.4 kB / 0.5046 GB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.2706, allocations: 0.7408 MB / 0.5053 GB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2706, allocations: 0 / 0.5053 GB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.2715, allocations: 0.504 MB / 0.5058 GB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.2718, allocations: 35.73 kB / 0.5058 GB, free: 7.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.2728, allocations: 0.6905 MB / 0.5065 GB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.273, allocations: 0.7861 MB / 0.5073 GB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.273, allocations: 39.42 kB / 0.5073 GB, free: 5.668 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.273, allocations: 0 / 0.5073 GB, free: 5.668 MB / 366.1 MB Notification: Performance of Templates: time 0.00813/0.2812, allocations: 6.984 MB / 0.5141 GB, free: 14.69 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.sim & ./PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.56609263503924] Failed to read output from testmodel.py, exit status != 0: 0.2889995810110122 0.30207614400000005 0.06545079300000001 Calling exit ...