Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.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.001272/0.001272, allocations: 118.7 kB / 17.85 MB, free: 5.074 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.001273/0.001273, allocations: 191.8 kB / 20.79 MB, free: 2.141 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.411/1.411, allocations: 225.6 MB / 249.2 MB, free: 3.637 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.05185/0.05185, allocations: 8.231 MB / 312.3 MB, free: 2.035 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.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.12 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3073, allocations: 54.36 MB / 489.5 MB, free: 27.58 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.004706/0.312, allocations: 2.838 MB / 492.3 MB, free: 25.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.3139, allocations: 0.8398 MB / 493.2 MB, free: 24.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.3141, allocations: 8.344 kB / 493.2 MB, free: 24.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.3147, allocations: 135.8 kB / 493.3 MB, free: 24.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.3152, allocations: 144.2 kB / 493.5 MB, free: 24.46 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. Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.3172, allocations: 0.9356 MB / 494.4 MB, free: 23.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.3178, allocations: 306.3 kB / 494.7 MB, free: 23.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.318, allocations: 85.94 kB / 494.8 MB, free: 23.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3182, allocations: 132.2 kB / 494.9 MB, free: 23.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.3186, allocations: 194.4 kB / 495.1 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-05/0.3187, allocations: 27.25 kB / 495.1 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006266/0.3193, allocations: 214.4 kB / 495.3 MB, free: 23.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.3194, allocations: 61.52 kB / 495.4 MB, free: 23.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.3196, allocations: 148.4 kB / 495.5 MB, free: 23.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.3205, allocations: 468.4 kB / 496 MB, free: 22.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3205, allocations: 0 / 496 MB, free: 22.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3205, allocations: 0 / 496 MB, free: 22.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3205, allocations: 0 / 496 MB, free: 22.79 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003284/0.3238, allocations: 0.8007 MB / 496.8 MB, free: 22.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3238, allocations: 13.05 kB / 496.8 MB, free: 22.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.3239, allocations: 35.75 kB / 496.8 MB, free: 22.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.3243, allocations: 272.1 kB / 497.1 MB, free: 21.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-05/0.3244, allocations: 80.69 kB / 497.2 MB, free: 21.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.3245, allocations: 26.12 kB / 497.2 MB, free: 21.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.3253, allocations: 346.4 kB / 497.6 MB, free: 21.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.3253, allocations: 3.938 kB / 497.6 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.3254, allocations: 11.09 kB / 497.6 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3254, allocations: 10.44 kB / 497.6 MB, free: 21.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008492/0.3263, allocations: 331.8 kB / 497.9 MB, free: 21.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.3284, allocations: 1.308 MB / 499.2 MB, free: 20.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.33, allocations: 0.5161 MB / 499.7 MB, free: 19.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004542/0.3305, allocations: 186.5 kB / 499.9 MB, free: 19.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/0.3305, allocations: 9.234 kB / 499.9 MB, free: 19.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000645/0.3312, allocations: 263.1 kB / 0.4884 GB, free: 19.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.436e-06/0.3312, allocations: 3.938 kB / 0.4885 GB, free: 19.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.00483/0.336, allocations: 1.052 MB / 0.4895 GB, free: 18.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.336, allocations: 63.3 kB / 0.4895 GB, free: 18.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.3363, allocations: 190.1 kB / 0.4897 GB, free: 18.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.3364, allocations: 35.89 kB / 0.4898 GB, free: 18.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3364, allocations: 146.4 kB / 0.4899 GB, free: 18.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3366, allocations: 147.8 kB / 0.49 GB, free: 18.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.3367, allocations: 76.19 kB / 0.4901 GB, free: 18.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.3368, allocations: 337 kB / 0.4904 GB, free: 18.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.3373, allocations: 172.5 kB / 0.4906 GB, free: 17.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.3378, allocations: 223.4 kB / 0.4908 GB, free: 17.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3388, allocations: 415 kB / 0.4912 GB, free: 17.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3388, allocations: 0 / 0.4912 GB, free: 17.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002552/0.3414, allocations: 0.694 MB / 0.4919 GB, free: 17.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3414, allocations: 6.281 kB / 0.4919 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3414, allocations: 0 / 0.4919 GB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.3435, allocations: 311.6 kB / 0.4922 GB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.3439, allocations: 63.84 kB / 0.4922 GB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.35, allocations: 2.965 MB / 0.4951 GB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.3505, allocations: 34.98 kB / 0.4952 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.3505, allocations: 14.61 kB / 0.4952 GB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0002395/0.3508, allocations: 148.4 kB / 0.4953 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.3509, allocations: 28.8 kB / 0.4954 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/0.3536, allocations: 0.7201 MB / 0.4961 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.3536, allocations: 5.344 kB / 0.4961 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3536, allocations: 0 / 0.4961 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3536, allocations: 4.953 kB / 0.4961 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.3571, allocations: 1.244 MB / 0.4973 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3571, allocations: 1.219 kB / 0.4973 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.3574, allocations: 49.88 kB / 0.4973 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.3594, allocations: 304.4 kB / 0.4976 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.3594, allocations: 12.44 kB / 0.4976 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005847/0.3653, allocations: 2.933 MB / 0.5005 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3653, allocations: 0 / 0.5005 GB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.3679, allocations: 0.7654 MB / 0.5012 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.368, allocations: 105.1 kB / 0.5013 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.368, allocations: 14.75 kB / 0.5014 GB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.3684, allocations: 18.92 kB / 0.5014 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.3686, allocations: 38.27 kB / 0.5014 GB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.3686, allocations: 17.62 kB / 0.5014 GB, free: 9.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.3688, allocations: 140.8 kB / 0.5016 GB, free: 9.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3688, allocations: 0 / 0.5016 GB, free: 9.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008862/0.3697, allocations: 131.9 kB / 0.5017 GB, free: 9.703 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,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0002351/0.37, allocations: 123.3 kB / 0.5018 GB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.3722, allocations: 0.6875 MB / 0.5025 GB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3722, allocations: 0 / 0.5025 GB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.3737, allocations: 481.5 kB / 0.5029 GB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.3743, allocations: 29.19 kB / 0.503 GB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3761, allocations: 0.6465 MB / 0.5036 GB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3763, allocations: 0.7706 MB / 0.5044 GB, free: 7.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.3764, allocations: 33.8 kB / 0.5044 GB, free: 7.695 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3764, allocations: 0 / 0.5044 GB, free: 7.695 MB / 366.1 MB Notification: Performance of Templates: time 0.009256/0.3857, allocations: 5.642 MB / 0.5099 GB, free: 2.961 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.956259922124445] Failed to read output from testmodel.py, exit status != 0: 0.3937373929657042 0.40634924 0.082866087 Calling exit ...