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.001316/0.001316, allocations: 111.2 kB / 19.74 MB, free: 2.152 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.001308/0.001308, allocations: 193.8 kB / 23.03 MB, free: 5.016 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.637/1.637, allocations: 225.6 MB / 251.8 MB, free: 13.01 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.05438/0.05438, allocations: 8.249 MB / 315.3 MB, free: 376 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.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads")
translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 71.88 kB / 439.7 MB, free: 12.17 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.1013, allocations: 54.38 MB / 494.1 MB, free: 5.691 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002854/0.1042, allocations: 1.478 MB / 495.6 MB, free: 4.215 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002048/0.1062, allocations: 1.461 MB / 497.1 MB, free: 2.738 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.1063, allocations: 0 / 497.1 MB, free: 2.738 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.1066, allocations: 111.4 kB / 497.2 MB, free: 2.629 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.1071, allocations: 155.2 kB / 497.3 MB, free: 2.477 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.1088, allocations: 0.9203 MB / 498.2 MB, free: 1.555 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00031/0.1091, allocations: 195.1 kB / 498.4 MB, free: 1.363 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1092, allocations: 41.77 kB / 498.5 MB, free: 1.32 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.1093, allocations: 75.72 kB / 498.5 MB, free: 1.246 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1095, allocations: 107.6 kB / 498.7 MB, free: 1.141 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.1096, allocations: 16 kB / 498.7 MB, free: 1.125 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.11, allocations: 231.7 kB / 498.9 MB, free: 0.8984 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.1101, allocations: 39.83 kB / 498.9 MB, free: 0.8594 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1102, allocations: 87.59 kB / 499 MB, free: 0.7734 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.1107, allocations: 366.7 kB / 499.4 MB, free: 424 kB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1107, allocations: 0 / 499.4 MB, free: 424 kB / 350.1 MB
Notification: Performance of FrontEnd: time 1.413e-06/0.1107, allocations: 0 / 499.4 MB, free: 424 kB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.342e-06/0.1107, allocations: 0 / 499.4 MB, free: 424 kB / 350.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.002186/0.1129, allocations: 0.6375 MB / 0.4883 GB, free: 15.74 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.113, allocations: 15.83 kB / 0.4883 GB, free: 15.73 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.113, allocations: 24.8 kB / 0.4883 GB, free: 15.7 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1133, allocations: 174.2 kB / 0.4885 GB, free: 15.51 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.1135, allocations: 67.72 kB / 0.4886 GB, free: 15.43 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.1135, allocations: 16.38 kB / 0.4886 GB, free: 15.41 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.1139, allocations: 218.1 kB / 0.4888 GB, free: 15.2 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1139, allocations: 7.922 kB / 0.4888 GB, free: 15.19 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.114, allocations: 12 kB / 0.4888 GB, free: 15.18 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.114, allocations: 4 kB / 0.4888 GB, free: 15.17 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.1144, allocations: 207.8 kB / 0.489 GB, free: 14.97 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.116, allocations: 0.8766 MB / 0.4899 GB, free: 14.02 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.1166, allocations: 226.4 kB / 0.4901 GB, free: 13.79 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.1168, allocations: 105.1 kB / 0.4902 GB, free: 13.69 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.1169, allocations: 8 kB / 0.4902 GB, free: 13.68 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.1173, allocations: 164.8 kB / 0.4903 GB, free: 13.51 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=22): time 2.335e-06/0.1173, allocations: 0 / 0.4903 GB, free: 13.51 MB / 366.1 MB
Notification: Performance of matching and sorting (n=22): time 0.001898/0.1192, allocations: 0.5361 MB / 0.4909 GB, free: 12.96 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1193, allocations: 63.33 kB / 0.4909 GB, free: 12.89 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.1195, allocations: 179.2 kB / 0.4911 GB, free: 12.7 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.1196, allocations: 33.7 kB / 0.4911 GB, free: 12.66 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.1197, allocations: 124.5 kB / 0.4913 GB, free: 12.53 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.987e-05/0.1198, allocations: 87.27 kB / 0.4913 GB, free: 12.45 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1199, allocations: 61.91 kB / 0.4914 GB, free: 12.38 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001647/0.12, allocations: 330.8 kB / 0.4917 GB, free: 12.05 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.1203, allocations: 120.5 kB / 0.4918 GB, free: 11.93 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.1205, allocations: 161.3 kB / 0.492 GB, free: 11.76 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.121, allocations: 280.2 kB / 0.4922 GB, free: 11.47 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.121, allocations: 0 / 0.4922 GB, free: 11.47 MB / 366.1 MB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.001134/0.1221, allocations: 478.5 kB / 0.4927 GB, free: 10.99 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1221, allocations: 4 kB / 0.4927 GB, free: 10.99 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1222, allocations: 0 / 0.4927 GB, free: 10.99 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009859/0.1231, allocations: 192.7 kB / 0.4929 GB, free: 10.8 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.1233, allocations: 43.92 kB / 0.4929 GB, free: 10.75 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008277/0.1242, allocations: 0.7242 MB / 0.4936 GB, free: 10 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.1244, allocations: 23.84 kB / 0.4937 GB, free: 9.98 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.1244, allocations: 12 kB / 0.4937 GB, free: 9.969 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.0001517/0.1245, allocations: 129.8 kB / 0.4938 GB, free: 9.832 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.1246, allocations: 23.89 kB / 0.4938 GB, free: 9.809 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008317/0.1254, allocations: 380.1 kB / 0.4942 GB, free: 9.426 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1254, allocations: 4 kB / 0.4942 GB, free: 9.422 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1254, allocations: 3.984 kB / 0.4942 GB, free: 9.418 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1254, allocations: 0 / 0.4942 GB, free: 9.418 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.1258, allocations: 316.4 kB / 0.4945 GB, free: 9.066 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1258, allocations: 3.938 kB / 0.4945 GB, free: 9.062 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1259, allocations: 27.92 kB / 0.4945 GB, free: 9.035 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008051/0.1267, allocations: 196.8 kB / 0.4947 GB, free: 8.84 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1267, allocations: 4 kB / 0.4947 GB, free: 8.836 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008511/0.1276, allocations: 0.7397 MB / 0.4954 GB, free: 8.07 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1276, allocations: 0 / 0.4954 GB, free: 8.07 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.1283, allocations: 380.4 kB / 0.4958 GB, free: 7.68 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.1283, allocations: 19.83 kB / 0.4958 GB, free: 7.66 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1284, allocations: 8 kB / 0.4958 GB, free: 7.652 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.1285, allocations: 19.86 kB / 0.4958 GB, free: 7.633 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.1286, allocations: 19.83 kB / 0.4959 GB, free: 7.613 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1286, allocations: 12 kB / 0.4959 GB, free: 7.602 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001379/0.1288, allocations: 128 kB / 0.496 GB, free: 7.477 MB / 366.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1288, allocations: 0 / 0.496 GB, free: 7.477 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.000314/0.1291, allocations: 63.89 kB / 0.4961 GB, free: 7.414 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.000222/0.1293, allocations: 127.1 kB / 0.4962 GB, free: 7.281 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007911/0.1301, allocations: 275.8 kB / 0.4964 GB, free: 7.012 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1301, allocations: 0 / 0.4964 GB, free: 7.012 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.1307, allocations: 168.1 kB / 0.4966 GB, free: 6.848 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1309, allocations: 31.89 kB / 0.4966 GB, free: 6.816 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.1319, allocations: 408 kB / 0.497 GB, free: 6.391 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.1322, allocations: 0.7249 MB / 0.4977 GB, free: 5.641 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 9.604e-05/0.1323, allocations: 29.7 kB / 0.4978 GB, free: 5.609 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.1324, allocations: 23.42 kB / 0.4978 GB, free: 5.586 MB / 366.1 MB
Notification: Performance of SimCode: time 4.41e-07/0.1324, allocations: 0 / 0.4978 GB, free: 5.586 MB / 366.1 MB
Notification: Performance of Templates: time 0.008346/0.1407, allocations: 3.95 MB / 0.5016 GB, free: 1.648 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile [Timeout 660]
(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 & ./PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 4.879241714254022]
Failed to read output from testmodel.py, exit status != 0:
0.14817042741924524 0.163647277 0.049882742
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2c160417b0>