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.001538/0.001538, allocations: 107.6 kB / 17.8 MB, free: 5.277 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.001525/0.001525, allocations: 187.8 kB / 20.74 MB, free: 2.344 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.338/1.338, allocations: 222.9 MB / 246.4 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 179] 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.1453/0.1453, allocations: 8.088 MB / 306.7 MB, free: 2.676 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.001874/0.001874, allocations: 72.08 kB / 423.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2168, allocations: 51.52 MB / 475.4 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad): time 0.003208/0.22, allocations: 2.816 MB / 478.2 MB, free: 19.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2213, allocations: 0.8356 MB / 479.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.2215, allocations: 5.281 kB / 479.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.2219, allocations: 139.7 kB / 479.2 MB, free: 19.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.2223, allocations: 140.2 kB / 479.3 MB, free: 19.08 MB / 350.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.001356/0.2237, allocations: 0.9297 MB / 480.3 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.224, allocations: 306.4 kB / 480.6 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.2242, allocations: 125 kB / 480.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.2243, allocations: 127.7 kB / 480.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2246, allocations: 199.1 kB / 481 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.2246, allocations: 25.84 kB / 481 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.225, allocations: 211.7 kB / 481.2 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.225, allocations: 66.33 kB / 481.3 MB, free: 17.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2251, allocations: 150.8 kB / 481.4 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.2256, allocations: 464.1 kB / 481.9 MB, free: 17.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2256, allocations: 0 / 481.9 MB, free: 17.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2256, allocations: 3.938 kB / 481.9 MB, free: 17.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2256, allocations: 0 / 481.9 MB, free: 17.4 MB / 350.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.001796/0.2274, allocations: 0.7933 MB / 482.7 MB, free: 16.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.2275, allocations: 12.77 kB / 482.7 MB, free: 16.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.2276, allocations: 44.52 kB / 482.8 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.2278, allocations: 263.8 kB / 483 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/0.2278, allocations: 84.38 kB / 483.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.2279, allocations: 26.16 kB / 483.1 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.2284, allocations: 350.7 kB / 483.5 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2284, allocations: 3.938 kB / 483.5 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.2284, allocations: 11.06 kB / 483.5 MB, free: 16.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2284, allocations: 5.844 kB / 483.5 MB, free: 16.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.2289, allocations: 333 kB / 483.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.23, allocations: 1.304 MB / 485.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008937/0.2309, allocations: 0.5598 MB / 485.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.2312, allocations: 219.6 kB / 485.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.848e-05/0.2313, allocations: 17.88 kB / 485.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.2317, allocations: 262.4 kB / 486.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.893e-06/0.2317, allocations: 0 / 486.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002664/0.2344, allocations: 1.065 MB / 487.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.2344, allocations: 55.53 kB / 487.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2346, allocations: 190.7 kB / 487.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2346, allocations: 35.08 kB / 487.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.2347, allocations: 138.4 kB / 487.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.2347, allocations: 151.2 kB / 487.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2348, allocations: 80.36 kB / 487.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.564e-05/0.2349, allocations: 340.3 kB / 488.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.2351, allocations: 176.6 kB / 488.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.2354, allocations: 219.4 kB / 488.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.2359, allocations: 407 kB / 489 MB, free: 12.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2359, allocations: 4 kB / 489 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00136/0.2373, allocations: 0.712 MB / 489.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2373, allocations: 5.062 kB / 489.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2373, allocations: 1.188 kB / 489.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.2385, allocations: 311.9 kB / 490 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2387, allocations: 62.53 kB / 490.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.2421, allocations: 2.962 MB / 493 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.2423, allocations: 31.67 kB / 493.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.2424, allocations: 13.88 kB / 493.1 MB, free: 9.133 MB / 350.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.0001275/0.2425, allocations: 147.8 kB / 493.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.2425, allocations: 28.58 kB / 493.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.244, allocations: 0.734 MB / 494 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.244, allocations: 4.344 kB / 494 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.244, allocations: 0 / 494 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.244, allocations: 5.094 kB / 494 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.2457, allocations: 1.257 MB / 495.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2457, allocations: 3.938 kB / 495.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2459, allocations: 47.02 kB / 495.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.247, allocations: 308.2 kB / 495.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.247, allocations: 6.844 kB / 495.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.2499, allocations: 2.945 MB / 498.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2499, allocations: 0 / 498.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2512, allocations: 0.7825 MB / 499.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.2512, allocations: 100.9 kB / 499.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.2513, allocations: 12 kB / 499.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.2515, allocations: 19.92 kB / 499.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.2516, allocations: 44.38 kB / 499.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.2516, allocations: 16 kB / 499.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.675e-05/0.2517, allocations: 140.1 kB / 499.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2518, allocations: 0 / 499.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.2522, allocations: 131.8 kB / 499.8 MB, free: 3.277 MB / 350.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.0001608/0.2523, allocations: 123.2 kB / 499.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.2535, allocations: 0.7103 MB / 0.4889 GB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2535, allocations: 4 kB / 0.4889 GB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.2542, allocations: 0.4932 MB / 0.4894 GB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2545, allocations: 35.67 kB / 0.4894 GB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008832/0.2554, allocations: 0.6364 MB / 0.49 GB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.2556, allocations: 0.7774 MB / 0.4908 GB, free: 420 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.2557, allocations: 31.42 kB / 0.4908 GB, free: 388 kB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2557, allocations: 0 / 0.4908 GB, free: 388 kB / 350.1 MB Notification: Performance of Templates: time 0.007923/0.2636, allocations: 5.606 MB / 0.4963 GB, free: 10.77 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.612075011013076] Failed to read output from testmodel.py, exit status != 0: 0.2704172530211508 0.28240883699999997 0.054392939 Calling exit ...