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.001365/0.001365, allocations: 115.3 kB / 19.74 MB, free: 2.137 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.001446/0.001446, allocations: 187.2 kB / 23.02 MB, free: 4.953 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.479/1.479, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0591/0.0591, allocations: 8.249 MB / 315.3 MB, free: 476 kB / 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/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.002316/0.002316, allocations: 67.89 kB / 439.8 MB, free: 12.25 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1414, allocations: 54.39 MB / 494.1 MB, free: 5.766 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoadWithFailure_notFinalized): time 0.005637/0.147, allocations: 2.89 MB / 497 MB, free: 2.859 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00264/0.1497, allocations: 1.144 MB / 498.2 MB, free: 1.711 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.15, allocations: 4 kB / 498.2 MB, free: 1.707 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.1506, allocations: 143.1 kB / 498.3 MB, free: 1.566 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.1513, allocations: 143.1 kB / 498.5 MB, free: 1.426 MB / 350.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.002517/0.1538, allocations: 1.041 MB / 499.5 MB, free: 392 kB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006662/0.1545, allocations: 338.5 kB / 499.8 MB, free: 52 kB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.1547, allocations: 83.52 kB / 499.9 MB, free: 15.97 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.1551, allocations: 155.4 kB / 0.4883 GB, free: 15.82 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004462/0.1555, allocations: 199.3 kB / 0.4885 GB, free: 15.62 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1556, allocations: 28 kB / 0.4886 GB, free: 15.59 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008368/0.1564, allocations: 351.6 kB / 0.4889 GB, free: 15.25 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1565, allocations: 75.69 kB / 0.489 GB, free: 15.18 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.1568, allocations: 167.1 kB / 0.4891 GB, free: 15.01 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000869/0.1576, allocations: 0.5372 MB / 0.4897 GB, free: 14.47 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1576, allocations: 0 / 0.4897 GB, free: 14.47 MB / 366.1 MB
Notification: Performance of FrontEnd: time 9.21e-07/0.1576, allocations: 0 / 0.4897 GB, free: 14.47 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.189e-05/0.1576, allocations: 3.938 kB / 0.4897 GB, free: 14.47 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.002835/0.1605, allocations: 0.8115 MB / 0.4905 GB, free: 13.62 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.1605, allocations: 12.03 kB / 0.4905 GB, free: 13.61 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.1607, allocations: 40.75 kB / 0.4905 GB, free: 13.57 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.1612, allocations: 214.1 kB / 0.4907 GB, free: 13.33 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.1613, allocations: 88.5 kB / 0.4908 GB, free: 13.23 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.1614, allocations: 28.38 kB / 0.4908 GB, free: 13.21 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008524/0.1623, allocations: 394.5 kB / 0.4912 GB, free: 12.82 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.1623, allocations: 3.938 kB / 0.4912 GB, free: 12.82 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.1623, allocations: 16 kB / 0.4912 GB, free: 12.8 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.1623, allocations: 8 kB / 0.4912 GB, free: 12.79 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/0.163, allocations: 370.5 kB / 0.4916 GB, free: 12.43 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.1653, allocations: 1.339 MB / 0.4929 GB, free: 10.97 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.1665, allocations: 0.508 MB / 0.4934 GB, free: 10.45 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.1668, allocations: 206.1 kB / 0.4936 GB, free: 10.25 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.091e-05/0.1669, allocations: 12.42 kB / 0.4936 GB, free: 10.24 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006705/0.1676, allocations: 317.3 kB / 0.4939 GB, free: 9.918 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=52): time 2.354e-06/0.1676, allocations: 0 / 0.4939 GB, free: 9.918 MB / 366.1 MB
Notification: Performance of matching and sorting (n=52): time 0.003373/0.171, allocations: 1.065 MB / 0.4949 GB, free: 8.84 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.171, allocations: 59.84 kB / 0.495 GB, free: 8.77 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.1713, allocations: 202.3 kB / 0.4952 GB, free: 8.562 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.1714, allocations: 37.7 kB / 0.4952 GB, free: 8.52 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1715, allocations: 145.1 kB / 0.4954 GB, free: 8.375 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.1717, allocations: 174.5 kB / 0.4955 GB, free: 8.203 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1718, allocations: 98.17 kB / 0.4956 GB, free: 8.102 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001922/0.172, allocations: 334.8 kB / 0.4959 GB, free: 7.766 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.1724, allocations: 205.1 kB / 0.4961 GB, free: 7.562 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.1728, allocations: 254.6 kB / 0.4964 GB, free: 7.301 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004698/0.1775, allocations: 1.268 MB / 0.4976 GB, free: 6.016 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1775, allocations: 0 / 0.4976 GB, free: 6.016 MB / 366.1 MB
Notification: Performance of matching and sorting (n=65) (initialization): time 0.00184/0.1794, allocations: 0.7749 MB / 0.4984 GB, free: 5.23 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1794, allocations: 8.125 kB / 0.4984 GB, free: 5.223 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1794, allocations: 4 kB / 0.4984 GB, free: 5.219 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.1807, allocations: 308.5 kB / 0.4987 GB, free: 4.914 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.1809, allocations: 71.84 kB / 0.4987 GB, free: 4.844 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/0.1856, allocations: 2.866 MB / 0.5015 GB, free: 1.867 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.1859, allocations: 51.72 kB / 0.5016 GB, free: 1.816 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.186, allocations: 16 kB / 0.5016 GB, free: 1.801 MB / 366.1 MB
Warning: Assuming fixed start value for the following 4 variables:
         myFailure.seed:DISCRETE(fixed = true protected = true )  type: Integer
         myFailure.F:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always )  \"cumulative distribution function\" type: Real
         myFailure.componentIsWorking:DISCRETE(start = true fixed = true )  type: Boolean
         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,n.y,myFailure.y,myFailure.componentIsWorking,myFailure.r,$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.0003108/0.1863, allocations: 162.7 kB / 0.5018 GB, free: 1.633 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.1864, allocations: 31.75 kB / 0.5018 GB, free: 1.602 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.1883, allocations: 0.7868 MB / 0.5026 GB, free: 0.8047 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1883, allocations: 4 kB / 0.5026 GB, free: 0.8008 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1883, allocations: 3.984 kB / 0.5026 GB, free: 0.7969 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1883, allocations: 3.938 kB / 0.5026 GB, free: 0.793 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.1908, allocations: 1.332 MB / 0.5039 GB, free: 15.41 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1908, allocations: 0 / 0.5039 GB, free: 15.41 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.191, allocations: 55.92 kB / 0.5039 GB, free: 15.36 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.1922, allocations: 304.5 kB / 0.5042 GB, free: 15.05 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.1923, allocations: 12 kB / 0.5042 GB, free: 15.04 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/0.1967, allocations: 2.812 MB / 0.507 GB, free: 12.13 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1967, allocations: 4 kB / 0.507 GB, free: 12.12 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.199, allocations: 1.103 MB / 0.5081 GB, free: 11 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.1991, allocations: 31.72 kB / 0.5081 GB, free: 10.97 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.1992, allocations: 20.05 kB / 0.5081 GB, free: 10.95 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.1995, allocations: 19.98 kB / 0.5081 GB, free: 10.93 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.1996, allocations: 48.41 kB / 0.5082 GB, free: 10.88 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.1997, allocations: 23.92 kB / 0.5082 GB, free: 10.86 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.00019/0.1999, allocations: 147.1 kB / 0.5083 GB, free: 10.71 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.1999, allocations: 0 / 0.5083 GB, free: 10.71 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.000755/0.2006, allocations: 167.8 kB / 0.5085 GB, free: 10.55 MB / 382.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.seed,myFailure.r,myFailure.componentIsWorking,myFailure.y)
 * 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.000712/0.2014, allocations: 232.8 kB / 0.5087 GB, free: 10.34 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001952/0.2033, allocations: 0.7506 MB / 0.5094 GB, free: 9.578 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.2033, allocations: 4 kB / 0.5094 GB, free: 9.574 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001116/0.2044, allocations: 497.5 kB / 0.5099 GB, free: 9.078 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.2049, allocations: 38.55 kB / 0.51 GB, free: 9.043 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.2065, allocations: 0.6678 MB / 0.5106 GB, free: 8.344 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.207, allocations: 0.7861 MB / 0.5114 GB, free: 7.535 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001875/0.2072, allocations: 46.92 kB / 0.5114 GB, free: 7.492 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.2073, allocations: 39.42 kB / 0.5115 GB, free: 7.453 MB / 382.1 MB
Notification: Performance of SimCode: time 1.243e-06/0.2073, allocations: 4 kB / 0.5115 GB, free: 7.449 MB / 382.1 MB
Notification: Performance of Templates: time 0.2934/0.5007, allocations: 8.792 MB / 0.5201 GB, free: 35.49 MB / 382.1 MB
"
[Timeout remaining time 659]
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: 5.356564340181649]
Failed to read output from testmodel.py, exit status != 0:
0.5101400390267372 0.5243500120000001 0.36365479
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f50c5c4d7b0>